package Dec2016; import java.util.ArrayList; import java.util.List; public class Ques1214 { public static void main(String[] args){ final List<String> tickets = new ArrayList<String>(); for(int i = 0; i < 1000; i++){ tickets.add("高铁票-&…
20170324问题解析请点击今日问题下方的“[Java每日一题]20170327”查看(问题解析在公众号首发,公众号ID:weknow619) package Mar2017; public class Ques0327 { public static void main(String[] args) { MyThread t1 = new MyThread("t1"); MyThread t2 = new MyThread("t2"); t1.start();…
20170216问题解析请点击今日问题下方的“[Java每日一题]20170217”查看(问题解析在公众号首发,公众号ID:weknow619) package Feb2017; public class Ques0217 { public static void main(String[] args) { char[] c = new char[10]; System.out.println(c[5]); } } 今日问题: 请问主程序输出结果是什么?(点击以下“[Java每日一题]20170…
20170210问题解析请点击今日问题下方的“[Java每日一题]20170213”查看(问题解析在公众号首发,公众号ID:weknow619) package Feb2017; public class Ques0213 { final int num; public Ques0213() { System.out.println(num + 10); } public static void main(String[] args) { Ques0213 q = new Ques0213();…