If set accepts only one argument then how can it compare
two objects to avoid duplicates
Answer Posted / maankutti
need to overload < operator
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Is char a data type in java?
What do you understand by the term singleton?
Which containers use a flowlayout as their default layout in java programming?
What is an empty class? What functionality does it offer in Java?
Explain thread in java?
what is meant by Garbage collection?
What is the static import?
What is the difference between assignment and initialization?
What is class and its types?
What does substring mean?
What is java util concurrentmodificationexception?
What is parsing in grammar?
How many wrapper classes are there in java?
What does singleton mean in java?
Can a final variable be manipulated in java?