simple array processing(apparently!)

any help at all with this would be great,ive spent hours googling yesterday but to no avail

int [] nums = {10,20,10,20,60,10,5,60,5,60}

1. (i)find the maximum in the array (ii)the position of where it occurs first and last

2. find 2nd largest element in array

3. find the maximum absolute difference between adjacent pairs of elements in the array

4. determine IF 2 arrays are identical

5. reverse the order of the array elements

i was able to do q1 part (i) then i havent a clue!

int highest = 0;

for (int i=0; i<nums.length; i++) {

if(nums[i] > highest)

highest = nums[i];

}

System.out.println(highest);

when it mentions determine if 2 arrays are identical i think it could be referring to my last exercise sheet which had the same array, im not sure. The lecturer will be going through this with us next week but i need all the help i can get so im trying to stay ahead of things if you know what i mean :) even help with one or two might point me int he right direction!