Multiple Choice
All of the following are memory management methods of the ArrayList class except:
A) ensureCapacity()
B) clear()
C) isEmpty()
D) trimToSize()
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: The Type parameter is always indicated as
Q8: All of the following are methods of
Q14: A generic class can be instantiated as
Q15: To place an element in an ArrayList
Q16: What is the base type of the
Q17: The remove(Object theElement)method of the ArrayList class
Q18: To use the Java class ArrayList,you must
Q23: You can not use the set method
Q24: What are the three main disadvantages of
Q27: The compiler option -Xlint is good for