Java code to ask questions on customer information

a code in java for a sub shop ordering system. It first should prompt for the customer name, then prompt for the beverage, sub bread, sub type, and sub size. At the end it present a message echoing back all of the information that the customer entered.

At thIs point you are ready to start developing Java code to ask questions on customer information and the sub that customers want to order. You are only concerned with
the functionality to request and provide feedback on what the customer entered. Your main focus is on defining your classes and abstract classes and utilizing the concept of

inheritance and polymorphism for the final sub the customer orders. You will first prompt for customer name and delivery address, like in this sample that prompts for the
customer name:Then, you will prompt for the beverage, sub bread, sub type, and sub size.

You should pesent a message echoing back all of the informationthat the Customer entered, similar to example presenting the customer’s name with a message:Make sure you prompt for these four attributes (beverage, bread, type, and size) that you will need request from the customer to define for the final sub and beverage
selection. Also, be sure to comment all of your code to demonstrate that you understand *iat the code is doing.
Powered by