Menu
Question Index
...

Which of the following is incorrect?

X: Set can contain duplicate values but List does not allow. List allows only unique elements.
Y: List allows retrieval of data to be in same order as it is inserted but Set does not ensure the sequence in which the data can be retrieved (except HashSet).


X only
Y only
Both are correct
Both are incorrect

Doubts

Problems

Topic: HashSet Class In Java

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App