2013年3月12日

Java 类 Stack 使用方法

摘要: http://blog.sina.com.cn/s/blog_622bd1660100qb95.htmlimport java.util.Stack;import java.util.EmptyStackException;public class MainClass {public static void main(String args[]) {Stack st = new Stack();System.out.println("stack: " + st);st.push(new Integer(42));System.out.println("push(& 阅读全文

posted @ 2013-03-12 19:28 Sure_Yi 阅读(280) 评论(0) 推荐(0) 编辑

导航