I am trying to create a class say MyStack that would implement a java.util.collections class. MyStack will override some methods of the collections cl
MyStack
Is defining a stack what you really want to achieve? If so, then go ahead and define it without even implementing Collection interface - it will be OK for simple cases. Or use an existing class - java.util.Stack.