الرجوع
تسجيل الدخول
أنت تتصفح نسخة مؤرشفة من الموقع اضغط للانتقال إلى الموقع الجديد بكامل المزايا

What will be the output of the following Java code?

public class MemoryTest {
    public static void main(String[] args) {
        Object obj = new Object();
        Object anotherObj = obj;
        System.out.println(obj == anotherObj);
    }
}