java测试小例子
羽缘的小窝
a student who want to be a best person. I think that you will success as long as you are better than yesterday.
展开
-
java初始化测试
public class TestClassInitial { public static void main(String[] args){ Beetle b=new Beetle(); } }class Insect{ private int i=9; protected int j; Insect(){ System.ou原创 2016-01-14 20:06:23 · 566 阅读 · 0 评论 -
String测试
public class TestString { public static void main(String[] arg){ String str1=new StringBuilder("计算机").append("软件").toString(); System.out.println(str1.intern()==str1); String原创 2016-01-14 20:09:48 · 544 阅读 · 0 评论