ऑब्जेक्ट-ओरिएंटेड प्रोग्रामिंग (ओओपी) में एनकैप्सुलेशन क्या है?
What is encapsulation in object-oriented programming (OOP)?
A
Exposing internal details of an object
B
Grouping data and methods into a single unit
C
Hiding data and methods within an object
D
Inheriting from multiple classes
Explanation
Correct Answer: B) Grouping data and methods into a single unit