Posts

Showing posts with the label Constructors used to set length & width & height

Zeek_Ch10_PractiseSet2.java

   /* --> Create a class rectangle with its length and width.  --> Create a class cuboid which is sub class of rectangle(Using concepts of inheritance). --> Use constructors to set its length,width and height. --> Calculate totalSurfaceArea and volume of cuboid    */