241
GB
What is a 'nested class' in C++?
IN
C++ में 'नेस्टेड क्लास' क्या है?
A
A class defined inside another class
एक वर्ग को दूसरे वर्ग के अंदर परिभाषित किया गया है
B
A class with multiple inheritance
एकाधिक वंशानुक्रम वाला एक वर्ग
C
A template class
एक टेम्पलेट क्लास
D
Abstract class
सार वर्ग
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
A nested class is defined within the scope of an enclosing class.
व्याख्या (हिन्दी)
एक नेस्टेड वर्ग को एक संलग्न वर्ग के दायरे में परिभाषित किया गया है।