Advertisements
Advertisements
प्रश्न
Putting all relevant data and methods in one boundary is called:
विकल्प
Abstraction
Encapsulation
Polymorphism
Inheritance
MCQ
Advertisements
उत्तर
Encapsulation
Explanation:
Encapsulation is the process of combining data (variables) and the methods (functions) that operate on that data into a single unit (class). It also helps protect the data from unauthorized access.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
