1351
GB
In the object-oriented data model what is encapsulation?
IN
ऑब्जेक्ट-ओरिएंटेड डेटा मॉडल में इनकैप्सुलेशन क्या है?
A
Bundling data (attributes) and methods that operate on that data within an object hiding internal implementation details
बंडलिंग डेटा (विशेषताएँ) और विधियाँ जो आंतरिक कार्यान्वयन विवरण को छिपाते हुए किसी ऑब्जेक्ट के भीतर उस डेटा पर काम करती हैं
B
Packaging multiple objects into a single table
एकाधिक वस्तुओं को एक ही तालिका में पैक करना
C
Hiding the database schema from users
डेटाबेस स्कीमा को उपयोगकर्ताओं से छिपाना
D
Encrypting object data for security
सुरक्षा के लिए ऑब्जेक्ट डेटा एन्क्रिप्ट करना
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
Encapsulation is an OOP principle: objects bundle their state (attributes/fields) and behavior (methods) together. Internal implementation details are hidden, and external access is through well-defined interfaces/methods.
व्याख्या (हिन्दी)
एनकैप्सुलेशन एक OOP सिद्धांत है: ऑब्जेक्ट अपनी स्थिति (गुण/फ़ील्ड) और व्यवहार (तरीके) को एक साथ जोड़ते हैं। आंतरिक कार्यान्वयन विवरण छिपे हुए हैं, और बाहरी पहुंच अच्छी तरह से परिभाषित इंटरफेस/विधियों के माध्यम से है।