In Java, what is the difference between this.method() and method()? -


is there difference between calling this.method() , method() (including performance difference)?

the time matters if using outerclass.this.method() e.g.

class outerclass {     void method() { }      class innerclass {         void method() {             outerclass.this.method(); // not same method().         }     }  } 

Comments