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

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

c# - SharpSVN - How to get the previous revision? -

php cli reading files and how to fix it? -