The null object pattern replaces null values within a specific object with a custom null object that is of the same class. The null object's fields will have default values, preventing it from causing a null pointer exception. Example f we don't use ...

Markdown supported · ⌘↵ to post
No responses yet.