Question: Think about the observer pattern can help to decouple UI layer from model layer, design a tax calculation with max 4 classes that use packages
Think about the observer pattern can help to decouple UI layer from model layer, design a tax calculation with max 4 classes that use packages for view and model layers, make a class diagram that shows the view and the model and what classes are in this packages, a sequence diagram that shows the behavior of the system and a simple Java implementation. The next model class must be part of the system.
| TaxCalculation |
| getTax() |
| addIncome(income) |
| setTaxPercent(taxPrecent) |
I need help to start, I'm lost and I can make it work with the observer pattern
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
