java - this pointer is shown as a variable name in eclipse while debugging -


below screen shot of eclipse while trying debug program. not understand why variables section in top right corner shows "this" variable name , value of test(class name). thought pointer , not variable.

can me this

screenshot

"this" keyword reference current object. used pass instance of object..

for example, these 2 allocations equal:

class test{      int i;      public test(){      }          public void abc(int i){                 i++;         this.i++; }  } 

and program doesn't make sense me ...


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -