diff --git a/null-object/README.md b/null-object/README.md index 75da7452a..00799a1a3 100644 --- a/null-object/README.md +++ b/null-object/README.md @@ -35,6 +35,10 @@ Wikipedia says > In object-oriented computer programming, a null object is an object with no referenced value or with defined neutral ("null") behavior. The null object design pattern describes the uses of such objects and their behavior (or lack thereof). +Sequence diagram + +![Null Object sequence diagram](./etc/null-object-sequence-diagram.png) + ## Programmatic Example of Null Object in Java By implementing the Null Object Pattern, Java developers can ensure that their applications handle 'empty' objects more gracefully, enhancing code stability and readability. diff --git a/null-object/etc/null-object-sequence-diagram.png b/null-object/etc/null-object-sequence-diagram.png new file mode 100644 index 000000000..bfeda450a Binary files /dev/null and b/null-object/etc/null-object-sequence-diagram.png differ