pramodtuniki
Apr 1, 2012, 07:42 AM
Create classes Box and Box 3d. Box 3d is extended from class Box. Include the given conditions in your program and find the output.
a) Include variables length, breadth and height.
b) Include constructors
c) Include the super keyword.
d) Set vale for variables length, breadth and height.
e) Find out the area and volume.
f) Use command line arguments to initialize the variables length, breadth and height
Note:- Both the classes have respective methods and variables.
a) Include variables length, breadth and height.
b) Include constructors
c) Include the super keyword.
d) Set vale for variables length, breadth and height.
e) Find out the area and volume.
f) Use command line arguments to initialize the variables length, breadth and height
Note:- Both the classes have respective methods and variables.