Invoking __returns the first element in an ArrayList x.

Invoking _________ returns the first element in an ArrayList x.


A. x.first()
B. x.get(0)
C. x.get(1)
D. x.get()

The correct answer is B


Java

Learn More Multiple Choice Question :