Google, IBM & Meta Certificates — 40% Off for a Limited Time
AI Engineer - Learn how to integrate AI into software applications
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Learn about the Memento design pattern in this 21-minute tutorial video. Discover how to easily store previous states of an object using three main classes: Memento, Originator, and Caretaker. Explore the implementation details, including how the Originator sets and gets values from the current Memento, creates new Mementos, and assigns current values to them. Understand the role of the Caretaker in holding an ArrayList of previous Memento versions for storage and retrieval. Access the provided code to enhance your understanding of this useful design pattern.
Syllabus
Memento Design Pattern
Taught by
Derek Banas