The inheritance hierarchy is independent of the containment hierarchy.
Listing 15 illustrates the inheritance hierarchy byListing 15. Illustrate the inheritance hierarchy. |
---|
System.out.println("-4-"); System.out.println(toString()); System.out.println(super.toString()); }//end showB |
File: dt.htm | [Next] | [Prev] |