This content originally appeared on DEV Community and was authored by coder4life
Behavioral design pattern: Watch a Java implementation of the Observer Pattern. An observable ("Weather" object in example) is an object which notifies observers ("Person" objects in example) about the changes in its state.
This content originally appeared on DEV Community and was authored by coder4life
coder4life | Sciencx (2021-11-18T07:44:56+00:00) Observer Pattern | Design Patterns in Java. Retrieved from https://www.scien.cx/2021/11/18/observer-pattern-design-patterns-in-java/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.