A
Q. Identify what can directly access and change the value of the variable res.
Code:
Package com.mypackage;
Public class Solution{
Private int res = 100;
}
Public class Solution{
Private int res = 100;
}
- Correct Answer - Option(B)
- Views: 12
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.