I\'m attempting to create a method that checks an array for increasing elements. True should be returned if all the elements are in increasing order. I get an out-of-bounds
I suggest you write your method like this
public static boolean isIncreasing(int[]arr) { for(int i=1; iarr[i]) return false; } return true; }
it will help