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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?