定义"栈"类 Stack:
插入方法:
查询并删除:
查询第一个:
查询长度、是否为空:
测试:
运行结果:
posted on 2012-04-22 15:23 hantai 阅读(98) 评论(0) 编辑 收藏
Powered by: BlogJava Copyright © hantai