Power BI Fundamentals - Create visualizations and dashboards from scratch
Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
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