Question1: Explain why a class is an excellent representation of an Abstract data type. What needs to be included in the class so that it represents a collection? How would an Interface be used with the class?
Question2 : If we implement a Stack with Arrays is the collection fixed or is it dynamic? Explain your answer.