InterviewSolution
Saved Bookmarks
| 1. |
What do you understand by the Null Object pattern? |
|
Answer» 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. |
|