(JAVA) Design a class named Sandwich with data fields for description and price. Include a constructor that requires arguments for both fields and a method to display the data (example value for description is chicken). Create a subclass named DeliverySandwich that inherits from Sandwich and has a delivery fee and a delivery address as additional fields. The description, price, and delivery address are required as arguments to the subclass constructor. The delivery fee should be set to $3 if the sandwich ordered costs more than $15; otherwise it should be set to $5. Write an application that instantiates at least two objects of each type and displays their state (data).
https://graduatepapertutors.com/wp-content/uploads/2019/10/logo-300x60.png 0 0 Joseph https://graduatepapertutors.com/wp-content/uploads/2019/10/logo-300x60.png Joseph2021-02-14 03:59:502021-02-14 03:59:50java design a class named sandwich with data fields for description and price inclu 5152200