Multiple Choice
Which of the following methods of java.lang.Object compares an object to its argument?
A) boolean equals(Object obj)
B) int hashCode()
C) Object clone()
D) String toString()
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q16: ArrayIndexOutOfBoundsException is thrown by the JVM when
Q17: The _ call in a class constructor
Q18: _ errors occur during program execution .
Q19: A data field (or method) with _
Q20: The is-a relationship between classes means that
Q22: In UML class diagrams, the _ sign
Q23: Which of the following statements is correct?<br>A)
Q24: The class _ is the superclass of
Q25: Which of the following would cause an
Q26: A major reason for the popularity of