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
Why chararray() is preferred over string to store the password?
What are annotations in java?
What are streams?
Is null a string?
Which is bigger double or float?
How do you check if a character in a string is a digit or letter?
How do you replace all in word?
Difference between notify() method and notifyall() method in java?
Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?
What is the significance of listiterator?
Which one will take more memory: an int or integer?
What is an anonymous class in java?
Can a class be final?
How many types of classes are there in java?
What is a parameter example?