Question: protected variable: A . can be changed by code in another class. B . cannot be changed. C . can be read from anywhere but
protected variable:
A can be changed by code in another class.
B cannot be changed.
C can be read from anywhere but can only be changed by code inside the class within which it is defined.
D is only visible inside the class within which it is defined.
E is visible inside the class within which it is defined, or within its package, or within classes derived from its class.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
