adspace


What are adapter and memento patterns?

Answer Posted / Anshu Singh

"Adapter pattern is used to make existing classes work with others by converting the interface of an object into another one that clients expect. Memento pattern is a behavioral design pattern that enables encapsulating an object's internal state so it can be saved and restored later without violating its encapsulation."n

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you define a base class in swift?

931


Explain the common execution states for a swift ios app (ios application lifecycle).

900


Explain some biggest changes in usernotifications.

926