Which of the following methods is a method of wrapper Integer for obtaining hash code for the invoking object?
(a) int hash()
(b) int hashcode()
(c) int hashCode()
(d) Integer hashcode()
The question was posed to me in an internship interview.
This intriguing question originated from Java.lang topic in section Exploring java.lang & java.io of Java