print("Need help with the program."); - Printable Version +- (wL) Forums (https://war-lords.net/forum) +-- Forum: Resources (https://war-lords.net/forum/forum-31.html) +--- Forum: Programming (https://war-lords.net/forum/forum-33.html) +--- Thread: print("Need help with the program."); (/thread-10012.html) |
print("Need help with the program."); - Danger255 - Mar 04 2013 Code: /* A program that uses the Box class. When executed it doesn't shows up anything (running in Netbeans) RE: print("Need help with the program."); - Morpheus - Mar 19 2013 Here: Code: class Box { Now, I know this isn't the best approach but it does what it is supposed to. You can add more methods such as "getHeight, getLength, getwidth, setHeight, setLength, setwidth". In my opinion, changing the values of the properties like you did... I would use mybox.setHeight(23.3); |