4 ms·
What would the concrete implementation of the at class that represents the deactivated credit card look like?
by arwhatever 7y ago
What would the concrete implementation of the at class that represents the deactivated credit card look like?
- lacampbell 7y agoIt would be an abstract class with an abstract processPayment method. Then two concrete classes that implement it, each with their own implementation of processPayment. https://en.wikipedia.org/wiki/Expression_problem https://en.wikipedia.org/wiki/Expression_problem