MCQ Single Best Answer Difficult

QIterators are a generic way to go through all the elements of a ______ no matter how it is organized.

ID: #22941 TCS Core Java Questions 129 views
Question Info
#22941Q ID
DifficultDifficulty
TCS Core Java QuestionsTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A liststack
  • B container
  • C array
  • D collection
Correct Answer: Option D

Explanation

The correct option is:

collection

Iterators provide a generic way to traverse through all the elements of a collection (such as lists, sets, etc.) regardless of how the elements are organized.

Share This Question

Challenge a friend or share with your study group.