Llamar al método predefinido en 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