MyClass.java
 

public class MyClass {  
  public static void main(String[] args) {  
    MyClass myObj = new MyClass();  
    System.out.println(myObj instanceof MyClass); 
  }  
} 

Result:
true