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)
Given an ArrayList a, write an expression that refers to the first element of the ArrayList.
a.get(0)