| Mobile | RSS

Java Tutorial : The super and this Keywords

Java provides the super keyword that enables a subclass to refer to its superclass. The super keyword is used to access: superclass constructors superclass methods and variables Consider a Java application, which consists of multiple classes. The subclass in the application needs to reuse the constructor of the superclass. In this application, super keyword is used as [...]

[ More ] 19th Mar, 2010 | No Comment | Posted in Java