Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java instanceof example

class Simple1{  
 public static void main(String args[]){  
 Simple1 s=new Simple1();  
 System.out.println(s instanceof Simple1);//true  
 }  
}
Source by www.javatpoint.com #
 
PREVIOUS NEXT
Tagged: #java #instanceof
ADD COMMENT
Topic
Name
1+8 =