public boolean equals(Object obj) method compares the given object to "this" object - Core Java
Q. Which method compares the given object to 'this' object?- Published on 13 Jul 15a. public boolean equals(Object obj)
b. public final void notifyAll()
c. public final void notify()
d. public final ClassgetClass()
ANSWER: public boolean equals(Object obj)