Given an ArrayList a, write an expression that refers to the first element of the ArrayList.
LANGUAGE: JAVA
CHALLENGE:
Given an ArrayList a, write an expression that refers to the first element of the ArrayList.
SOLUTION:
a.get(0)
Posted in Java, Learn To Code