Which Of The Following Is The Most Suitable Definition For #1139
Which of the following is the most suitable definition for encapsulation?
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Python OOPs - Python Encapsulation - Quiz No.1.
Which of the following is the most suitable definition for encapsulation?
Ability of a class to derive members of another class as a part of its own definition
Means of bundling instance variables and methods in order to restrict access to certain class members
Focuses on variables and passing of variables to functions
Allows for implementation of elegant software that is well designed and easily modified