Home » JAVA Programming » Java Basic » Question
  1. Which design pattern represents a way to access all the objects in a collection?
    1. Bridge pattern
    2. Iterator pattern
    3. Facade pattern
    4. Builder pattern
    5. None of these
Correct Option: B

Iterator pattern represents a way to access the elements of a collection object in sequential manner without the need to know its underlying representation.



Your comments will be displayed only after manual approval.