Advertisements
Advertisements
प्रश्न
The process of combining data and functions that enables them to be together as a single entity is called:
पर्याय
Inheritance
Encapsulation
Classification
Attributes
MCQ
उत्तर
Encapsulation
Explanation:
Encapsulation is merging data (attributes) and functions (methods) that operate on the data to form a single entity known as a class. This protects the data and restricts access or modification to certain methods, ensuring data integrity and security.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?