Adobe
9A0-182 · Question #33
Which attribute allows access to a property or method only within a class or any subclass of that class?
The correct answer is C. protected. See the full explanation below for the reasoning.
Question
Which attribute allows access to a property or method only within a class or any subclass of that class?
Options
- Apublic
- Bprivate
- Cprotected
- Dinternal
How the community answered
(45 responses)- A9% (4)
- B2% (1)
- C73% (33)
- D16% (7)
Community Discussion
No community discussion yet for this question.