Category Archives: Super class

Unit 2 (Prog 2) : Accessing Super Class method

Accessing Super Class method : class ParentShape {           public void displayShape(Object o) {                     System.out.println(“displaying parent shape from ” + o.toString() );           } // more code } class ChildOne extends ParentShape {        … Read More »

email