LearnFrenzy
Sign in Take a free test

Encapsulation · Encapsulation MCQ · Question 7

Encapsulation versus abstraction Answer, explanation & discussion

  • MCQ
  • Medium
  • 0 comments
  • Answer explained
  • Moderated community
Question 7 Back to Exercise

Which pairing is correct?

  • A Encapsulation – interfaces; abstraction – private fields
  • B Encapsulation – hiding internal state; abstraction – exposing only essential behaviour Correct
  • C Both mean inheritance
  • D Both mean overloading
Correct Answer: Option B

They work together but answer different questions.

Discussion & Comments 0

Share your method, a shortcut, or ask about a step you didn't follow.

No comments yet. Be the first to share your solution!

Post your comment

Comments appear after a quick review by our team.

Search LearnFrenzy

Esc

Quick links