Java tutorial
//package com.java2s; public class Main { static public boolean isIncreasing(int A[]) { int lastId = Integer.MIN_VALUE; for (int i = 0; i < A.length; i++) { if (A[i] <= lastId) { return false; } lastId = A[i]; } return true; } }