Category Archives: Super class

Unit 2 (Prog 2) : Accessing Super Class method

By | June 2, 2013

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