Invoking __ returns the number of the elements in an ArrayList x.

Invoking _________ returns the number of the elements in an ArrayList x.


A. x.getSize()
B. x.getLength(0)
C. x.length(1)
D. x.size()

The correct answer is D


Java

Learn More Multiple Choice Question :