???Java?е?String
???????????? ???????[ 2014/5/8 11:04:49 ] ??????????????? Java
?????????????????????????????????????????????????????????????????????……???????????????????????????????????????????????н?????????
--------------?????-------------------
a = chenssy
b = chenssy
c = chenssy
--------------?????-------------------
a = chen_sy
b = chen_sy
chen_sy
c = chen_ssy
|
????????????????????????????????????е??????????????????????System.out.println("chenssy");????????chen_ssy??System.out.println("c = " + c);???chen_ssy???
?????????????????????????????????????????????
????????????????????????????????????????????????????????????????????????????????JVM??????????????????????????????????????????????Щ??????????????????????????????????????????JVM???????????????????????????????????????????У????????????????е???????á?????????????????????У???????????????????????????????С?????String????????????????????????????????????????????????????????????????????????????????
???????????????????????
????String a = "chenssy";
????String b = "chenssy";
????a??b?????????chenssy???????JVM????????????е?”chenssy”???????????????????
????String c = new String("chenssy");
????new????????????????????chenssy????????chenssy???????chenssy??????????????????洢????С???????????ò?????????????????????е?c????????chenssy????????Java?и????????????????????????????????????е?chenssy??????????????????????chenssy??????c??chenssy????chenssy??????????c--->chenssy--->??chenssy????????????£?
??????????????????????????????????????????????????????????е???????仯???????С?
??????????a??b??c??chenssy??????????????String?????????????????????????String c = new String("chenssy");???c???????????????У????????????value???????JVM???????chenssy??value????????chenssy??????????????chenssy???????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11