[One Day One Question]동일성과 동등성에 대해 설명해 주세요.1. 동일성 (Identity)정의: 동일성은 두 객체가 같은 메모리 주소를 참조하고 있는지를 확인합니다.비교 방법: == 연산자를 사용합니다.사용 예:동일성은 객체가 같은 인스턴스인지 확인하는 데 사용됩니다.public class IdentityExample { public static void main(String[] args) { String str1 = new String("Hello"); // 새로운 String 객체 생성 String str2 = new String("Hello"); // 또 다른 String 객체 생성 String str3 = str1; // str3은 st..