Question: Java: interface -Create an interface in Java, called mystackinterface that has the methods pop, push, peek and empty. -Create a class called myStack which Implements
Java: interface
-Create an interface in Java, called mystackinterface that has the methods pop, push, peek and empty.
-Create a class called myStack which Implements mystackinterface.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
