/** Box.java provides box-related methods. */ public class Box { // instance variables to "remember" dimensions private double myLength, myWidth, myHeight; // Box constructor public Box(double length, double width, double height) { myLength = length; myWidth = width; myHeight = height; } // volume of a Box (instance method) public double volume() { return myLength * myWidth * myHeight; } // surface area of a Box (instance method) public double surfaceArea() { return 0; // replace this line for lab exercise } // accessor methods for instance variables public double getLength() { return myLength; } public double getWidth() { return myWidth; } public double getHeight() { return myHeight; } // ... other methods omitted ... }