2017年8月20日

摘要: 参看博客:http://www.imooc.com/article/1515 但是代码在两个队列实现一个栈的时候代码存在问题 正确代码如下: 程序的运行结果是: 3 2 1 import java.util.Queue;import java.util.concurrent.ArrayBlockin 阅读全文
posted @ 2017-08-20 07:19 luzhouxiaoshuai 阅读(176) 评论(0) 推荐(0)
摘要: class StringEqualTest { public static void main(String[] args) { String s1 = "Programming";//栈 String s2 = new String("Programming");//栈 String s3 = " 阅读全文
posted @ 2017-08-20 05:48 luzhouxiaoshuai 阅读(286) 评论(0) 推荐(0)

导航