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
What do you mean by constant time complexity?
Is empty string in java?
What is fundamental datatype?
How many types of parsers are there?
Can a final variable be manipulated in java?
How many characters is 2 bytes?
how does multithreading take place on a computer with a single cpu? : Java thread
What are java annotations?
In which language java is written?
What is scope of a variable?
What are the advantages of unicode?
What is nullpointerexception in java?
What is the synchronized method modifier?
Define class?
how would you implement a thread pool? : Java thread