Can you limit the initial capacity of vector in java? - JAVA Interview Questions

Can you limit the initial capacity of vector in java?


Yes you can limit the initial capacity. We can construct an empty vector with specified initial capacity

public vector(int initialcapacity)



Click Here to See Answer .....
Did you like this article ?
Subscribe to my RSS feed and get more JAVA Question, and Guideline, Plus a lot more great advice to help your Software Career.

0 comments:

Related JAVA Questions Posts