Answers for "java instanceof example"

0

java instanceof example

class Simple1{  
 public static void main(String args[]){  
 Simple1 s=new Simple1();  
 System.out.println(s instanceof Simple1);//true  
 }  
}
Posted by: Guest on October-29-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language