Question: Modify this code by adding another child class with an attribute and a method that is unique to that object, or suggest a different
Modify this code by adding another child class with an attribute and a method that is unique to that object, or suggest a different child class. Write the main method to demonstrate the correct functionality of the additions. Use proper Java naming convention (Camel case), name the class, attribute, and method in a meaningful way to represent the business meaning, and add comments to the Java code as applicable. Along with the modified code please provide a screenshot of the results obtained by running the code.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
