0 votes
in Design Patterns by
What do you understand by the Null Object pattern?

1 Answer

0 votes
by

In this pattern, a null object is used for replacing the check of validating if the object instance is null or not. This Null Object has a “do nothing” relationship and these can be used for providing default behaviour if the data is unavailable.

Related questions

0 votes
asked Jul 24, 2023 in Design Patterns by SakshiSharma
0 votes
asked Aug 8, 2023 in Flutter by DavidAnderson
...