Basic operations

Report a typo

You have an array with numbers:

int[] numbers = { 1, 2, 3, 5, 4, 6, 4 };

Match operations on this array with their results.

Match the items from left and right columns
numbers[0]
numbers[6]
numbers.length
numbers[7]
1
7
ArrayIndexOutOfBoundsException
4
___

Create a free account to access the full topic