DEV Community

Cover image for Observer Pattern | Design Patterns in Java
coder4life
coder4life

Posted on

Observer Pattern | Design Patterns in Java

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.

Discussion (0)