0 votes
22 views
in Education by (51.6k points)

Name the actor classes used in Observer pattern.

1 Answer

0 votes
by (51.6k 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.

Related questions

0 votes
1 answer 14 views
0 votes
1 answer 11 views
asked Nov 7, 2020 in Education by Editorial Staff (51.6k points)
0 votes
1 answer 20 views
0 votes
1 answer 13 views
0 votes
1 answer 23 views
0 votes
1 answer 3 views
0 votes
1 answer 26 views
0 votes
1 answer 12 views
0 votes
1 answer 4 views
0 votes
1 answer 36 views
0 votes
1 answer 35 views
0 votes
1 answer 16 views
0 votes
1 answer 27 views
0 votes
1 answer 36 views
...