B-tech-2-1/ClassWork/Java/Unit-1/Class/this_para.java
class S2{  
    void m(S2 obj){  
    System.out.println("method is invoked");  
    }  
    void p(){  
    m(this);  
    }  
    public static void main(String args[]){  
    S2 s1 = new S2();  
    s1.p();  
    }  
  }  