Java Reference
In-Depth Information
This program displays the following:
Although the instance variable i in B hides the i in A , super allows access to the i defined
in the superclass. super can also be used to call methods that are hidden by a subclass.
Search WWH ::




Custom Search