【Object類、經常使用API】小練習

1、看下列程序,不運行說結果,寫出答案後,     並在IntelliJ IDEA中運行看看本身給的答案與運行結果是否正確,並分析緣由。     (1)         String s1 = new String("abc");         String s2 = "abc";         System.out.println(s1 == s2);       //false      
相關文章
相關標籤/搜索