Which of these packages contain all the collection classes?

The options for the question which of these packages contain all the collection classes are

  • A java.lang
  • B java.util
  • C. java.net
  • D. java.awt

The java.util package contains all the classes and interfaces for the Collection framework.

image source and credit : Javapoint.com

Java.util package contains all the collection classes

So for the question

Which of these packages contain all the collection classes?

Answer is : Java.util

more about computing

See also  [Explained] Data by itself is not useful unless transformed into information

Leave a Comment