The ________ Interface extends Collection and declares the behavior of containers

  • Iterable
  • List
  • Map
  • Queue
The List interface extends the Collection interface in Java. It is used to represent ordered collections of elements, allowing duplicates and providing various methods to manipulate the list. The other options do not extend Collection.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *