Bookmark Topic Watch Topic
  • New Topic

can someone write the code for me?  RSS feed

 
patrick kobi
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Report post to moderator
here it is my assignment
Design and implement a class called Box that contains instance data that represents the height, width and depth of the box. Also include a boolean variable called full as instance data that represents if the box is full or not. Define the Box constructor to accept and initialize the height, width and depth of the box. Each newly created Box is empty (the constructor should initialize full to false). Include getter and setter methods for all instance data. Include a toString method that returns a one-line description of the box. Create a driver class called BoxTest, whose main method instantiates and updates several Box objects.

I WANT THE FULL CODE WITHOUT COMMENTS.....PLEASE
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
First of all, please read this... http://faq.javaranch.com/java/DoYourOwnHomework


Second, you do know that if someone does do this for you, a moderator will remove it, right? Please take a shot at it. In the time that you took to make all those posts, you could have finished it by now.

Henry
 
Ulf Dittmer
Rancher
Posts: 42972
73
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!