CS202 Java-75
Accessing Base Class Members
lIf a derived class has the same named member as the base class
•It can be accessed by using the super keyword.
•If we have a “cleanup” type function to be executed at the end of an object’s lifetime, it would need to use the super keyword to invoke it’s base class’s (I recommend that you first cleanup your derived class prior to invoking the base class’ cleanup
•public class ordered_list extends list {
•public void member() {
• super.member();  //calls base class member
•}
•}