Which of the following statements are correct about the Java Collections Framework? Select the two correct answers.

1. The List interface allows duplicate elements.
2. The Set interface allows duplicate elements.
3. The Map interface stores key-value pairs and does not allow duplicate keys.
4. The Queue interface can only store objects of a single data type.
Choose the correct answer from the options given below:

1
1 and 3
2
2 and 4
3
1 and 2
4
3 and 4
5
Question Not Attempted

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation