InterviewSolution
Saved Bookmarks
| 1. |
Why We Used Vector Class? |
|
Answer» The Vector CLASS provides the ability to EXECUTE a growable ARRAY of objects. Vector proves to be very useful if you don’t know the size of the array in ADVANCE, or we need one that can CHANGE sizes over the lifetime of a program. The Vector class provides the ability to execute a growable array of objects. Vector proves to be very useful if you don’t know the size of the array in advance, or we need one that can change sizes over the lifetime of a program. |
|