Java   View all facts   Glossary   Help | 
| vector | 
| vector | ||||
| subject | fact | |||
| vector | can be used to implement a queue or push-down stack | ![]()  | 
| can have new elements added to the front, back or middle without replacing existing elements | ![]()  | |
| can only store reference types, not primitive types | ![]()  | |
can return the number of elements it contains using the size() method as in:vectorName.size()  | ![]()  | |
| does not have a fixed size like an array | ![]()  | |
has //Declare a vector and create an instance  | ![]()  | |
| is an instance of Vector class | ![]()  | |
| is a subtopic of Collections | ![]()  | |
| is a kind of kbTop | ![]()  | |
| see also Vector class | ![]()  |