Tip Top Bakery has requested a software application they can use to help manage their business. To
Question:
Tip Top Bakery has requested a software application they can use to help manage their business. To get started, we need to express in code some of the basic entities the business uses. In this assignment, we will model a sandwich, which consists of two pieces of bread and some filling. Each entity should be implemented as a class, which means that we will need a Bread, Filling, and Sandwich class. Let\'s tackle them one-at-atime and put them all together at the end. To begin, add a Bread class to the .java file that contains the items indicated in the UML diagram shown below:
Bread Class
breadType: String
caloriesperslice: integer
* Bread(String breadtype, integer caloriesPerSlice)
getBreadType(): Sting
setBreadType(String predtype): void
get Caloriespersticely integer
+ setCaloriesperslice integer calories): void\n
A Survey of Mathematics with Applications
ISBN: 978-0134112107
10th edition
Authors: Allen R. Angel, Christine D. Abbott, Dennis Runde