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.

Computer Science & Information Technology

You might also like to view...

____________ simplify the process of writing instructions that can be translated to machine language.

a. Programming languages b. Variables c. Output devices d. Graphical user interfaces

Computer Science & Information Technology

As shown in the accompanying figure, to display a date that is not visible in the current view, one option is to use the Go to Date Dialog Box Launcher.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology