PDA

View Full Version : Ask to java programer


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.

ScottGem
Apr 1, 2012, 08:02 AM
Thank you for asking our help with your homework assignment. However, there are some rules we have for doing so.
Do not simply retype or paste a question from your book or study material

We won't do your homework questions for you. You were given the assignment for you to learn.

If you come up with your own answer or process and post it for us to critique that is acceptable. If you have some SPECIFIC questions that you couldn't find or didn't understand, we may help with that.
But this is your assignment, so show us you have at least attempted to complete it on your own.

Thank you.