Oct 17, 2019 in Design Patterns
Q: What is null Object Pattern?

1 Answer

0 votes
Oct 18, 2019
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.

Related questions

0 votes
Aug 12, 2020 in Design Patterns
0 votes
Aug 12, 2020 in Design Patterns
...