Home Segments Top Top Previous Next

188: Practice

Using what you have learned about defining classes, such as the Movie class, devise a class, BoxCar, for railroad box cars. Include instance variables for the height, width, and length of individual box cars.