import java.util.*;
public class Lautturi {
public static void main(String[] args) {
int num;
Object obj_01 = new Object();
num=obj_01.hashCode();
System.out.println("Hash Code of the object is: " + num);
}
}
Source:www.lautturi.com
the file name Lautturi must be same as class name.