Java - How to define classes
I was wondering if someone could let me know if my basic template for making my own class(es) is right so far. It's an assignment for school so I was provided with the MainCoffee.java but I have to create my own class and use the Math class to compute shipping and total price. I'm not sure if the code will display below in the attachment but the file is .zip. (Ignore everything in comments, I will get back to that once I figure out the basic layout on how to do classes.)
I'm pretty sure I'm going to need numLgBoxes, numMedBoxes, numSmBoxes, and totalPrice classes to do this.