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
Write a program to check for a prime number in java?
What is ordered map in java?
What is memory leak and how does java handle it?
Why do we need singleton class?
When should you make a function static?
Explain the meaning of java applet.
What is character in data type?
In how many ways we can create threads in java?
Explain about fail fast iterators in java?
Define jit compiler?
What is a local block?
How to handle a web browser resize operation?
Can we call the constructor of a class more than once for an object?
Is java call by reference?
Can keyword be used as identifier?