如何为ADT创建接口

时间:2019-04-25 07:12:02

标签: interface stack

如何为以下对象创建接口?

void push ( int value ) //adds value to list appropriately for a stack 
int pop ( )             //remove and return value from list 
boolean isEmpty()       //returns true if the stack is empty 
int size()              //returns number of items in stack 
:

0 个答案:

没有答案