java instanceof with composite code example
Example: instanceof java
class Example{
public static void main(String args[]){
Example anexample=new Example();
System.out.println(anexample instanceof Example);
}
}
class Example{
public static void main(String args[]){
Example anexample=new Example();
System.out.println(anexample instanceof Example);
}
}