当我运行此代码时
String a="sa";
String s = "s";
String b=s + "a";
System.out.println(b==a);
它打印错误。如何?ba 是新的 String 对象吗?
眼眸繁星
临摹微笑
相关分类