Write a java program, Design an interface named Stack with the following methods:
a) Push and pop elements from stack
b) Check whether the stack is empty or not.
Implement the stack with the help of arrays and if the size of the array becomes too small to hold the elements, create a new one. Test the interface by inheriting it in its subclass StackTest.java
Answers
Answered by
3
Explanation:
dor that you have to learn it on your own
.....sorry...
Similar questions