in Design Patterns by
What is null Object Pattern?

► Click here to show 1 Answer

0 votes
Null Object pattern is a design pattern in which null object replaces NULL check for instance variable. Instead of putting a check for a null value, Null Object reflects a do nothing relationship. It can also be used to provide default behavior in case data is not available.
Learn More with Madanswer

Related questions

0 votes
asked Aug 12, 2020 in Design Patterns by RShastri
0 votes