in Education by (55.8k points)

Name the actor classes used in Memento pattern.

1 Answer

0 votes
by (55.8k points)

Name the actor classes used in Memento pattern.

Memento pattern uses three actor classes. Memento contains state of an object to be restored. Originator creates and stores states in Memento objects and Caretaker object is responsible to restore object state from Memento.

...