Question
You are tasked with attempting to design, but not implement, a class to represent a cardboard box. The online ordering and shipping of goods has
You are tasked with attempting to design, but not implement, a class to represent a cardboard box. The online ordering and shipping of goods has significantly increased in recent years, and both manufacturers of boxes and clients who use those boxes to ship their goods need ready information about the types of boxes available (or needed).
identify and document via a UML class diagram at LEAST 4 attributes and 5 operations that could be applied to a box of any size. Remember each attribute can store a single value so an attribute like dimensions wouldnt work. Also the 5 operations should include 1 constructor. For each operation, list any return types and parameters needed and any pre or post conditions you can think of.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started