Given an ArrayList a, which contains 34 elements, write an expression that refers to the last element of the array.

Given an ArrayList a, which contains 34 elements, write an expression that refers to the last element of the array.

LANGUAGE: JAVA

CHALLENGE:

Given an ArrayList a, which contains 34 elements, write an expression that refers to the last element of the array.

SOLUTION:

a.get(33)

Add comment