급 궁금해져서 찾아본 String 클래스의 주소값 확인 방법

System.identityHashCode("~~~~");
위 메소드를 println 해보면 String도 객체 주소값을 찍어볼 수 있다.

 

Posted by 知彼知己百戰不殆
,