nerdexam
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)
  • A
    9% (4)
  • B
    2% (1)
  • C
    73% (33)
  • D
    16% (7)

Community Discussion

No community discussion yet for this question.

Full 9A0-182 Practice