String比较全解析

mac2022-06-30  29

 ==equals解释a b true  true a cfalse true  a e true true  a gtrue true  f gfalse true   String a = "hello2";String b = "hello2";String c = new String("hello2");final String d = "hello";final String e = "hello2";String f = "hello";String g = d + 2;String h = f + 2;

  

转载于:https://www.cnblogs.com/R4mble/p/9505844.html

最新回复(0)