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.
![Which of these packages contain all the collection classes? 1 java collection hierarchy](https://static.javatpoint.com/images/java-collection-hierarchy.png)
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