Finding the mean is easy; the other answers have covered that.
You also want to make sure you use a loop to gather 6 values for your array, and call nextInt()
for all of those values.
The harder part may be the mode. The way I see to solve for the mode is:
1) Sort the array.
2) Create an int to hold the value of your current mode, and another int to hold the number of occurrences of that mode. You'll also need a counter int.
3) Using a loop, run through the sorted array. For every numeric value in the array, count how many times it occurs. Since it's in sorted order, every time the value changes, you know you've counted all of that value. Check to see if the occurrence is larger than the current largest occurrence, and if so, change the occurrence value and the mode value.