الرجوع
الصوت
المظهر
تسجيل الدخول
أنت تتصفح نسخة مؤرشفة من الموقع
اضغط للانتقال إلى الموقع الجديد بكامل المزايا
علامة (يتطلب تسجيل الدخول)
تم الحل (يتطلب تسجيل الدخول)
Question 15/15
What is the purpose of declaring a variable as private in Java?
B:
To make the variable accessible to all classes.
A:
To prevent the variable from being accessed outside of the class.
D:
To allow the variable to be modified by other classes.
C:
To make the variable a constant.
Previous
Next