June 2018
Intermediate to advanced
280 pages
7h 46m
English
In the following diagram, we can see that we simply create a NullClass, which can replace the real class in our program. As mentioned before, this is just a particular case of the strategy pattern in which we choose the strategy of doing nothing. The class diagram is as follows:

Read now
Unlock full access