Asked by Alexis Mosley on Sep 27, 2024
The hasNext) method of the Iterator interface has a return value of:
A) byte
B) int
C) boolean
D) none of the above
Boolean
Refers to a primitive data type that has only two possible values: true or false.
- Learn about the role and functions available through the Iterator interface and methods for navigating across elements within a collection.
Learning Objectives
- Learn about the role and functions available through the Iterator interface and methods for navigating across elements within a collection.