Chamando o método predefinido em Java

class PredefinedMethod
{
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);
}
}
Outrageous Ostrich