public class ep { public static void main (String args[]) { ep one = new ep(); ep two = new ep(); String a1, a2, a3 = 'abc', a4 = 'abc'; a1 = new String ('abc'); a2 = new String ('abc'); System.out.println ('a1.equals(a2)是' + (a1.equals (a2) ) ); System.out.printin ('a1==a2是' + (a1 == a2) ); } }
初级程序员
by: hasonger 发表于:2013-01-18 21:52:21 顶(0) | 踩(0) 回复
学习哈
网友回复
回复小蜜锋 : 嗯!
顶(0) 踩(0) 2013-01-19 18:27:51
回复评论