Title: (Optional) Create a multilevel class hierarchy.
Course: Java Programming (Oracle) (10055) > Section: Using Inheritance

Creation should include a superclass extended, and the extended class should then be extended by another class. For example, to extend the class SuperThree, the following code would be necessary:

public class SuperFour extends SuperThree{
public String aboutMe = "this class is a part of a multilevel hierarchy";
public SuperFour()  {
super();
}
/*The end of the SuperFour constructor which calls upon the superThree constructor, which calls on the BigSuperClass constructor
*/
public void printAboutMe()  {
System.out.println("Inside the printAboutMe method, the aboutMe variable is :" + aboutMe);
System.out.println("From the SuperThree Class, the value of the variable info is " + info);
}
/* end the method that prints the value of the aboutMe variable*/
//begin the main method, which is the point of execution for the SuperFour class
public static void main(String args[]) {
SuperFour secondGeneration = new SuperFour();
secondGeneration.printAboutMe();
}
}