Posts Tagged ‘Core Java’

Explain serialVersionUID in Java

What is serialVersionUID and what is its need ?

Explain Externalizable in Java

Explain Externalizable in Java

Complete Java Collection tutorial for the beginner

Complete JAVA Collection tutorial for the beginner

Java – J2EE Interview Questions – 1

JAVA – J2EE Interview Questions – 1, JAVA – J2EE Interview Questions – 1,custom tag JSP, Externalization , serialVersionUID, difference between interface and abstract class, iterate HashMap

Exception and Error handling framework in Java

Explain the concept of Exception and Error handling framework in JAVA.

Create Executable jar file of classes in package

Create Executable jar file of classes in package

Compile and run Java program in package from command line

How to Compile JAVA Program in Package from command line

Project Coin – Java 7 new features

What is Project Coin and how it is related to JAVA

What is the need to Override Hashcode() and equals() method

Although there are lots of material are available on internet and API document about the necessity of the overriding the hashcode() and equals() method in Java but lots of new developers still not able to understand the necessity of hashcode() method.
In this article, I will try to explain step by step the need of overriding hashcode() method in Java.