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
Define how does a try statement determine which catch clause should be used to handle an exception?
What does exclamation mean in java?
Is node a data type in java?
What is append function?
What is the purpose of object oriented programming?
explain multi-threading in java?
Why does java have different data types for integers and floating-point values?
How does java enable high performance?
What types of index data structures can you have in java?
What is a nullable field?
What is the use of math abs in java?
How do you reverse sort a list in java?
List implementations of list interface?
How do you take thread dump in java?
How does hashset work in java?