标签:string padding dex keyword contain lsp ble sla new
1.字符串
class StringEqualTest { public static void main(String[] args) { String s1 = "Programming" ; String s2 = new String( "Programming" ); String s3 = "Program" + "ming" ; System.out.println(s1 == s2); System.out.println(s1 == s3); System.out.println(s1 == s1.intern()); } } |
标签:string padding dex keyword contain lsp ble sla new
原文地址:http://www.cnblogs.com/chendabao/p/7630082.html