The software developer of an object-oriented programming API wishes to design a Stackdata type by ‘adapting’ an underlying Listdata structure. Describe how the Adapter Design Patterncould achieve this via:-
i.Inheritance
ii.Composition
Please reply as soon as possible. I have my exam.