1.

What is the name of a data member of class Vector which is used to store a number of elements in the vector?(a) length(b) elements(c) elementCount(d) capacityThis question was posed to me during an interview for a job.I want to ask this question from Java.util topic in chapter java.util – The Collections Framework of Java

Answer» RIGHT OPTION is (C) elementCount

Best EXPLANATION: NONE.


Discussion

No Comment Found

Related InterviewSolutions