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

1. When designing an array implementation of an ADT List class, identifiers such as DEFAULT_CAPACITY, items, itemCount and maxItems are specified as private.
2. In an array based implementation of the ADT List, the clear method must walk through the array and set each value to null.
3. A link based implementation of the ADT List does not shift items during insertion and deletion operations.
4. A link based implementation of the ADT List imposes a maximum length on the list.
5. Both the array based and the link based implementations of method getEntry as developed by the author should throw an exception if the parameter position is out of bounds.
Answer: True


1. True
2. False
3. True
4. False
5. True

Computer Science & Information Technology

You might also like to view...

The Page Setup tab only appears if the report is opened in ________ view or ________ view

Fill in the blank(s) with correct word

Computer Science & Information Technology

____________________ are pictures on the screen that can be selected by a mouse or other pointing device.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The ____________________ provides access to files and folders whether or not they are associated with a Dreamweaver site or not.

What will be an ideal response?

Computer Science & Information Technology

What is the Refine Radius tool's alter ego?

What will be an ideal response?

Computer Science & Information Technology