Exercises
19.3 | Define each of the following terms:
|
19.4 | Explain briefly the operation of each of the following methods of class Vector:
|
19.5 | Explain why inserting additional elements into a Vector object whose current size is less than its capacity is a relatively fast operation and why inserting additional elements into a Vector object whose current size is at capacity is a relatively slow operation. |
19.6 | By extending class Vector, Java’s designers were able to create class Stack quickly. What are the negative aspects of this use of inheritance, ... |
Get Java™ How to Program, Seventh Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.