+ 1
What is the error in my code please -java-
I want to manage integer using stack and queue concepts stored in the vector collections https://code.sololearn.com/c81A10a1A7A3/?ref=app
3 Réponses
+ 2
Stack implements the Istack interface, but you didn't implement and define its methods within the Stack class. You need to define the pop(), push(), and erease() methods in the Stack class.
+ 2
Add this;
public void erease(){};
public void pop(){};
public int push(){return 0;};
To the Stack class and run it.
+ 1
ChaoticDawg in eclipse it is working without defining the methods of the interface