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 15

a. 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)

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)