Self-Review Exercises

17.1Fill in the blanks in each of the following statements:
  1. A self-_____ class is used to form dynamic data structures that can grow and shrink at execution time.

  2. A(n) _____ is a constrained version of a linked list in which nodes can be inserted and deleted only from the start of the list.

  3. A method that does not alter a linked list, but simply looks at it to determine whether it is empty, is referred to as a(n) _____ method.

  4. A queue is referred to as a(n) _____ data structure because the first nodes inserted are the first ones removed.

  5. The reference to the next node in a linked list is referred to as a(n) _____.

  6. Automatically reclaiming dynamically allocated memory in Java is called _____.

  7. A(n) _____ is a constrained version ...

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.