However, a member variable and a method can have the same name. If IntegerClass inherits a member variable from its superclass also named named anInteger , then the variable declaration within IntegerClass hides the declaration in the superclass. You can still access the superclass's anInteger with super.anInteger super is a Java language keyword that allows a method to refer to hidden variables and overriden methods of the superclass. For more information about using super see The Method Body . These include such attributes as whether other objects can access the variable, whether the variable is a class or instance variable and whether the variable is a constant.
Italic items are to be replaced by keywords or names.