-2
If I have two reference object with different name in main class Such as:
AA aa = new AA();
AA bb = new AA();
and if i compare it using aa.equals(bb); then what it will return.
and if i will use
BB bb = new BB();
and i compare it using aa.equals(bb);
Then what is difference both of them
나는 항상 객체의 null 동작을 혼동했다.object.equals 메소드와 == java의 차이점
SO 에서이 같은 많은 질문이 있습니다, 사실이다 http://stackoverflow.com/questions/1643067/whats-the-difference-between-equals-and –