in Education by (55.8k points)

Name the actor classes used in Observer pattern.

1 Answer

0 votes
by (55.8k points)

Name the actor classes used in Observer pattern.

Observer pattern uses three actor classes. Subject, Observer and Client. Subject is an object having methods to attach and detach observers to a client object. We have created an abstract class Observer and a concrete class Subject that is extending class Observer.

...