Computer Science · Object Oriented Programming
C++ में निम्नलिखित में से कौन-सा कथन सत्य नहीं है?
- 1मल्टीपल इनहेरिटेंस के कारण 'ग्रैंडपैरेंट' बेस क्लास से इनहेरिट किए गए सदस्यों की पुनरावृत्ति हो सकती है। कॉमन बेस क्लास को वर्चुअल बेस क्लास बनाकर इससे बचा जा सकता है।
- 2स्कोप रिज़ॉल्यूशन ऑपरेटर (::) को सामान्य ऑपरेटरों की तरह ओवरलोड किया जा सकता है।✓
- 3एक फ्रेंड फ़ंक्शन (friend function) को बिना किसी ऑब्जेक्ट की सहायता के एक सामान्य फ़ंक्शन की तरह कॉल किया जा सकता है।
- 4किसी क्लास के डेटा मेंबर को स्टेटिक (static) घोषित किया जा सकता है और इसका उपयोग आम तौर पर पूरी क्लास के लिए सामान्य मानों को बनाए रखने के लिए किया जाता है।
सही उत्तर देखें
स्कोप रिज़ॉल्यूशन ऑपरेटर (::) को सामान्य ऑपरेटरों की तरह ओवरलोड किया जा सकता है।
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Object Oriented Programming?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Object Oriented Programming