摘要:
p65页第4题 思路书上有 参考代码: import java.util.Stack; public class c1 { public static void main(String[] args) { // TODO Auto-generated method stub Stack<String 阅读全文
posted @ 2020-11-02 15:41
万金流
阅读(210)
评论(0)
推荐(0)
摘要:
如题 由数组构成的顺序栈: public class Array_Stack { int[] a=new int[10]; int p=-1; public boolean isEmpty() { boolean b=false; if(p 1) { b=true; } return b; } pu 阅读全文
posted @ 2020-11-02 15:39
万金流
阅读(172)
评论(0)
推荐(0)
浙公网安备 33010602011771号