Advertisements
Advertisements
प्रश्न
Explain the following concept related to the object oriented programming:
Data Encapsulation
स्पष्ट करा
Advertisements
उत्तर
Encapsulation is the process of grouping data and functions into a single unit. It is also called data hiding, as it hides the internal details of a class from the user. The user is allowed to access only a limited set of operations on the hidden data through special functions known as methods. Encapsulation helps in hiding both data members and member functions.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2024-2025 (March) Official
