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
What happens if main method is not static?
What is the default size of load factor in hashing based collection?
Which number is denoted by leading zero in java?
What is a parameter in a function?
What is meant by oops concept in java?
What do you mean by flow of struts?
How do you sort a list in java?
Can we print null in java?
What are the differences between stringbuffer and stringbuilder?
What do you understand by the term wrapper classes?
What is the constructor?
What are the elements of java?
How many bytes is 255 characters?
What is a local block?
How to declare objects of a class ?