Answer Posted / shweta
set wont allow duplicate element all the classes implementin
set interface wont allow for eg HashSet TreeSet
Hash map will allow for two different key u can have same value
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How to make a read-only class in java?
I want to persist data of objects for later use. What is the best approach to do so?
Can we execute a program without main?
What is api in java?
Which list is sorted in java?
Why are variables important in research?
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.
What's the access scope of protected access specifier?
What is arraylist e in java?
What is class forname?
What is a boolean in java?
What is difference between == and === in js?
Explain the difference between intermediate and terminal operations in java8?
Why are the objects immutable in java?
What do you mean by ternary operator in java?