What is the primary function of a namespace in OOP?ओओपी में नेमस्पेस का प्राथमिक कार्य क्या है?
ओओपी में नेमस्पेस का प्राथमिक कार्य क्या है?
Show answerHide answer
Correct answer: (A) Group related classes and functionsसमूह से संबंधित कक्षाएं और कार्य
Explanation
A namespace groups related classes, functions and variables under one name, which keeps code organized and avoids name clashes.Namespace संबंधित classes, functions और variables को एक नाम के अंतर्गत समूहित करता है, जिससे कोड व्यवस्थित रहता है और नामों का टकराव नहीं होता।