What is the return type of the hashCode() method in the Object class?
Select the one correct answer.
String
int
long
Object
Class
Which statement is true?
If the references x and y denote two different objects, then the expression x.equals(y) is always false .
If the references x and y denote two different objects, then the expression (x.hashCode() == y.hashCode()) is always false .
The hashCode() method in the Object class is declared final .
The equals() method in the Object class is declared final .
All arrays have a method named clone .
Which exception can the clone() method of the Object class throw?
CloneNotSupportedException
NotCloneableException
IllegalCloneException
NoClonesAllowedException