nerdexam
Exams1Z0-803Questions#170
Oracle

1Z0-803 · Question #170

1Z0-803 Question #170: Real Exam Question with Answer & Explanation

The correct answer is D: Can be read and written from this class and its subclasses defined in any package. See the full explanation below for the reasoning.

Question

The protected modifier on a Field declaration within a public class means that the field ______________.

Options

  • ACannot be modified
  • BCan be read but not written from outside the class
  • CCan be read and written from this class and its subclasses only within the same package
  • DCan be read and written from this class and its subclasses defined in any package

Community Discussion

No community discussion yet for this question.

Full 1Z0-803 Practice
The protected modifier on a Field declaration within a public... | 1Z0-803 Q#170 Answer | NerdExam