At this point, you are ready to start developing Java code to ask questions on customer information and the sub sandwich 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 the 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 present a message echoing back all of the information that the customer entered, similar to the following example presenting the customer’s name with a message: Make sure you prompt for the four attributes (beverage, bread, type, and size) that you will need to 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 what the code is doing. The following are the project deliverables:

The overall objective of this Java code development project is to design a program that interacts with customers to gather information on their preferred sub sandwich order. The program will prompt the customer to enter their name and delivery address, and then proceed to gather information on the desired beverage, sub bread, sub type, and sub size. The entered information will be echoed back to the customer as confirmation.

To achieve this functionality, we will define various classes and abstract classes in order to utilize the concepts of inheritance and polymorphism. These concepts will allow us to create a standardized structure for the code, making it more maintainable and extensible.

The first step in the code development process is to prompt the customer for their name. This can be achieved using the ‘System.out.println()’ method to display a message asking for the customer’s name. Once the prompt message is displayed, we can utilize the ‘Scanner’ class to read the name entered by the customer and store it in a variable for later use.

After gathering the customer’s name, we move on to gathering information on the beverage, sub bread, sub type, and sub size. Similar to the name prompt, we will use the ‘System.out.println()’ method to display messages asking for each piece of information. Again, we will utilize the ‘Scanner’ class to read the input entered by the customer and store it in variables for later use.

Once all the required information has been gathered from the customer, we need to provide feedback by echoing back the entered information. This can be achieved by using the ‘System.out.println()’ method to display the information in a formatted message. For example, we can display the customer’s name along with a message confirming the name entered.

Throughout the code development process, it is important to include comments to explain the purpose and functionality of each section of code. This will demonstrate to others that we have a clear understanding of what the code is doing and will make it easier for future developers to maintain and enhance the code.

In conclusion, the primary goal of this Java code development project is to create a program that prompts customers for their information and sub sandwich preferences, and then provides feedback by echoing back the entered information. The use of classes, abstract classes, inheritance, and polymorphism will contribute to the creation of a structured and maintainable codebase.

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadline.

Click Here to Make an Order Click Here to Hire a Writer