What is the difference between the size and capacity of a Vector?

3 views
Skip to first unread message

amy

unread,
Dec 14, 2011, 12:28:46 PM12/14/11
to aksforjava

What is the difference between the size and capacity of a Vector?

alok kumar

unread,
Dec 16, 2011, 1:50:03 AM12/16/11
to aksforjava
Here size means how many value are in vector and capacity means how
many value can store vector.
Reply all
Reply to author
Forward
0 new messages