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
Can inner class have constructor?
Explain, java is compatible with all servers but not all browsers?
What is a map in java?
What does this () mean in java?
What are basic data types?
How we can make copy of a java object?
What checkbox method allows you to tell if a checkbox is checked?
Can we have try block without catch block?
What is a boolean in java?
How do you initialize an arraylist in java?
What is the purpose class.forname method?
What is singletonlist in java?
What is sizeof () operator?
what is the difference between a threads start() and run() methods? : Java thread
Can we overload the constructors?