Which statement is true?.
Select the one correct answer.
hashCode()
== y.hashCode()
) is always false.hashCode()
method in the Object class is declared final.equals()
method in the Object class is declared final.(e)
All arrays are genuine objects and inherit all the methods defined in the Object class, including the clone()
method.
Neither the hashCode()
method nor the equals()
method is declared final in the Object()
class, and it cannot be guaranteed that implementations of these methods will differentiate between all objects.