Which of the following statements are true?
a. An ArrayList can grow automatically.
b. An ArrayList can shrink automatically.
c. You can reduce the capacity of an ArrayList by invoking the trimToSize() method on the list.
d. You can reduce the capacity of a LinkedList by invoking the trimToSize() method on the list.
ac A LinkedList does not have excess capacity.
You might also like to view...
Answer the following questions true (T) or false (F)
1. A queue is a last-in/first-out structure. 2. A collection is a data structure for holding elements.
The appointment area is available in all of the view options.
Answer the following statement true (T) or false (F)
A specification of a Person structure in XML. Rewrite this specification using protocol buffers.
What will be an ideal response?
A precondition is a statement specifying the condition(s) that must be true before the function is called.
Answer the following statement true (T) or false (F)