摘要: 问题要求 定义IntegerStack接口,用于声明一个存放Integer元素的栈的常见方法: public Integer push(Integer item); //如果item为null,则不入栈直接返回null。如果栈满,也返回null。如果插入成功,返回item。 public Integ 阅读全文
posted @ 2025-04-18 10:32 取名字比写博客还难 阅读(13) 评论(0) 推荐(0)