LinkedIn Python Skill Assessment Quiz Answers

Which statement does NOT describe the object-oriented programming concept of encapsulation?

Latest Update on 25th January, 2022 by Certification Course Answers

Which statement does NOT describe the object-oriented programming concept of encapsulation?

  1.  It protects the data from outside interference.
  2.  A parent class is encapsulated and no data from the parent class passes on to the child class.
  3.  It keeps data and the methods that can manipulate that data in one place.
  4.  It only allows the data to be changed by methods.

Correct Answer:

  •  It only allows the data to be changed by methods.

Latest Updates

No posts found in this category.