Home » Interview » Technology

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

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

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion