{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Chap 9 TC

Chap 9 TC - With new signature TC 2 Solution Use an...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 9 Chapter 9 Problems Problems TC 1, 2 TC 1, 2
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
TC 1 TC 1 Solution is to create an adapter that adapts calls from the payroll system to the payroll tax subsystem. TaxCalcAdapter implements interface to ensure it can be called by Employee. Methods in the adapter in turn call PRollTaxCalculator
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: With new signature TC 2 Solution: Use an observer pattern. Window needs to implement this method because SimulationRun expects to call it. Window adds itself as a listener to Simulation run. Simulation Run will notify all listeners registered....
View Full Document

{[ snackBarMessage ]}

Page1 / 3

Chap 9 TC - With new signature TC 2 Solution Use an...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon bookmark
Ask a homework question - tutors are online