Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Calling the Pre-Defined Method in 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);
}
}
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Calling #Method #Java
ADD COMMENT
Topic
Name
8+7 =