If set accepts only one argument then how can it compare
two objects to avoid duplicates
Answer Posted / manju kt
using "this" keyword
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How does regex work?
Can we access instance variables within static methods ?
What is an infinite loop?
What exactly is a .class file?
Why can't we override private static methods?
How to compare strings in java?
Explain the selection sort algorithm and state its time complexity?
I want to store more than 10 objects in a remote server? Which methodology will follow?
What do you mean by default constructor in java?
What is immutable class in java?
Can we sort arraylist in java?
What is instanceof keyword?
What is hotjava?
What is bytecode in java ?
Can list be final in java?