hiexam
oracle · 1z0-811 · Q606 · multiple_response · topic_1

Which two Java reserved words are used to implement encapsulation?

Which two Java reserved words are used to implement encapsulation?
  • A.final
  • B.static
  • C.public
  • D.extends
  • E.private
Explanation
Selected Answer: CE C and E are the correct answers. Encapsulation in Java is accomplished with public and private methods and properties.

Reference: examtopics_top_comment

Practice with progress tracking

Sign in to track wrong answers, get spaced-repetition reminders, and run timed exam mode.