I want to knwo if the keyword this should not be used from within a static block or just we cant use the this keyword to refer to statics. How come the following question has a,b, e as answers?
For the second part... Although, confusing, it is possible to use the "this" keyword (when "this" is in scope) to access static members.
Originally posted by Jothi Shankar Kumar Sankararaj:
Then what it means to say "static means one copy per class". when we say that it is possible to use this keyword to statics, aren't we violating this rule of one per class???
Jothi Shankar Kumar. S
You asked if "this" could be interpreted as a final variable. To be honest, I don't know.
I’m tired of walking, and will rest for a minute and grow some wheels. This is the promise of this tiny ad:
Free, earth friendly heat - from the CodeRanch trailbosshttps://www.kickstarter.com/projects/paulwheaton/free-heat