首先看下下面代码结果是什么?
package cn.demo_01; public class StringDemo02 { public static void main(String[] args) { String a = "abc"; String b = "ab"; String c = "c"; System.out.println(a == b + c); } }
首先看下下面代码结果是什么?
package cn.demo_01; public class StringDemo02 { public static void main(String[] args) { String a = "abc"; String b = "ab"; String c = "c"; System.out.println(a == b + c); } }
内容版权声明:除非注明,否则皆为本站原创文章。