31
GB
What is 'cohesion' in OOP?
IN
OOP में 'सामंजस्य' क्या है?
A
Degree to which class members relate to single purpose
वह डिग्री जिससे वर्ग के सदस्य एकल उद्देश्य से संबंधित हों
B
Coupling between classes
कक्षाओं के बीच युग्मन
C
Inheritance depth
विरासत की गहराई
D
Number of methods
विधियों की संख्या
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
High cohesion means a class has one clear, well-defined responsibility — a good encapsulation quality.
व्याख्या (हिन्दी)
उच्च सामंजस्य का मतलब है कि एक वर्ग की एक स्पष्ट, अच्छी तरह से परिभाषित जिम्मेदारी है - एक अच्छी एनकैप्सुलेशन गुणवत्ता।