Solved

Using the Textbook's Implementation of a Linked List, Why Is

Question 38

Multiple Choice

Using the textbook's implementation of a linked list, why is the LinkedListIterator inner class NOT declared as an inner static class?


A) Because the LinkedList class must have access to the instance variables of the LinkedListIterator class.
B) Because the Node class must have access to the instance variables of the LinkedListIterator class.
C) Because the LinkedListIterator class must have access to Node class instance variables.
D) Because the LinkedListIterator class must have access to LinkedList class instance variables.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions