有关String s1 = "test"; String s2= new String("test")的三种面试问题

面对 :String s1 = "test";             String s2 = "test";             String s3 = new String("test");   会出现三种面试问题: 1.关于s1==s2 ;                                       2.关于 s1.equals(s2) ;                
相关文章
相关标签/搜索