Create a base class (also called a superclass) that contains all of the properties that are common to both of these products.
Now that your ordering system is constructed in a truly object-oriented manner, you can take advantage of this organization. Consider another product that is similar to your existing product but…