1.

Which of these method of ArrayList class is used to obtain present size of an object?(a) size()(b) length()(c) index()(d) capacity()I had been asked this question by my college professor while I was bunking the class.This question is from Java.util in portion java.util – The Collections Framework of Java

Answer» CORRECT CHOICE is (a) SIZE()

To ELABORATE: NONE.


Discussion

No Comment Found

Related InterviewSolutions