Answer Posted / deepak kumar sungh
Any Set. set always contains unique elements. However, you
must take care in case of objects where you need to define
the hashCode and equals method
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is a local, member and a class variable?
Say any two properties in beans?
How do you create a null object?
What is a function easy definition?
Why is stringbuffer thread safe?
What is string array?
What does the @override annotation do?
Explain the inheritance?
What is generics in java interview questions?
Explain creating threads by extending thread class ?
What is a Hash Table? What are the advantages of using a hash table?
What is the difference between comparison done by equals method and == operator?
Is space a character in java?
Is sizeof a preprocessor?
Can keyword be used as identifier?