"this" and "super" keyword
843789Jul 22 2010 — edited Jul 22 2010Hello,
I apologize for having to ask what's probably a very basic question, but I really don't understand what the this keyword is supposed to do. It is defined as referring to the current object, but then from my understanding when executing a Java application, you are in fact executing the object of the class rather than the class itself. So what's the difference between using this and simply the variable name?
Also, by extension, if I understand correctly, does the super keyword mean that it suppresses the method being overriden?
Any help that would point me in the right direction would be great!