Question: Suppose someone designed a stack abstract data type in which the function, top, returned an access path ( or a pointer) than returning a copy
Suppose someone designed a stack abstract data type in which the function, top, returned an access path ( or a pointer) than returning a copy of the top element.
a) Is this a true data abstraction?
b) Why yes or why not?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
