posted 16 years ago
Static methods or variables are never accessible with this since this refers to the instance and statics don't belong to an instance. You access a static member by using the . operator on the class name.
Strangely, it is also possible to use an object reference variable to access a static member but this is more a syntax trick since you're using the object reference variale to access the static and not the object itself.
<a href="http://zerotreize.com/#/blog/java-certification-matters" target="_blank" rel="nofollow">Java Certification matters?</a><br /><a href="http://www.zerotreize.com" target="_blank" rel="nofollow">Zerotreize.com</a>