Home » JAVA Programming » Collections » Question
  1. Which of these method of ArrayList class is used to obtain present size of an object?
    1. capacity()
    2. index()
    3. length()
    4. size()
    5. None of these
Correct Option: D

size()



Your comments will be displayed only after manual approval.