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) capacity
This 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