Introduction - If you have any usage issues, please Google them yourself
In the observer pattern, the state of the subject changes, and the number and type of observer;
Both the subject and the observer use the interface, and the observer uses the topic interface to register the subject, while the topic uses it
The observer interface notifies the observer that it has loose coupling characteristics;
The pattern uses many combinations to integrate many observers into the subject, and the relationship between the objects is not passed
Inherited; generated by a combination of methods at run time.