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
Does the order of public and static declaration matter in main method?
Which one of the following suits the description of a string better: derived or primitive?
How can a gui component handle its own events in java programming?
Which collections are thread safe in java?
Explain abstract class in java?
How to print an arraylist in java?
Explain what access modifiers can be used for variables?
Can a static class have a constructor?
What was java originally called?
Is array a class?
Can we have multiple classes in single file ?
What is java oops?
Why is a singleton bad?
How many types of flags are there?
Is java util regex pattern thread safe?