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