#equasl

==和equasl、hashmap原理(***)

publicclassString01{publicstaticvoidmain(String[]args){Stringa="test";Stringb=newString("test");System.out.println(a==b);//falseSystem.out.println(a.equals(b));...
代码星球 ·2020-05-19