- Image An App To Create Donuts Donuts Have A Base With A Filling And A Number Of Toppings E G A Donut Base Filled With 1 (86.85 KiB) Viewed 41 times
Image an app to create donuts. Donuts have a base with a filling and a number of toppings. E.g. a donut base filled with
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Image an app to create donuts. Donuts have a base with a filling and a number of toppings. E.g. a donut base filled with
Image an app to create donuts. Donuts have a base with a filling and a number of toppings. E.g. a donut base filled with jam combined with the toppings chocolate sauce, walnuts and Cornflakes. Base and toppings have a number of allergens (e.g. walnuts contain the allergen nuts). There should be a method on the complete donut object that returns all allergens. • Show in a UML 2 class diagram how to use the decorator pattern for the given example 1 A▾ B I • ✓ ▾ > ▾ % S ! ☺ P