299 0

Q: Which two method you need to implement for key Object in HashMap ?

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

In order to use any object as Key in HashMap, it must implements equals and hashcode method in Java.

Are you sure

  Report Error

Please Enter Message
Error Reported Successfully
google play

The Most Comprehensive Exam Preparation Platform

Get the Examsbook Prep App Today