When we wish to add new methods to the superclass that do not necessarily apply to all subclasses. Instead of adding the new method to an interface in the typical way, we use an instance variable that...


When we wish to add new methods to the superclass that do not necessarily apply to all subclasses.
Instead of adding the new method to an interface in the typical way, we use an instance variable that is a subclass of the new Functionality interface.
What pattern is discussed in the preceding statement?
Justify your response briefly.



Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here