Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of the following methods is a method of wrapper Integer for obtaining hash code for the invoking object?
  2. A.
    int hash()
    B.
    int hashcode()
    C.
    int hashCode()
    D.
    Integer hashcode()

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    int hashCode()


Be The First To Comment