Question 1 / 10

A Car object has attributes like color and weight, and methods like drive() and brake(). According to the source, what do these attributes and methods represent? प्रश्न: एक Car ऑब्जेक्ट में color और weight जैसे एट्रिब्यूट्स और drive() और brake() जैसे मेथड्स हैं। स्रोत के अनुसार, ये एट्रिब्यूट्स और मेथड्स क्या दर्शाते हैं?

Question 2 / 10

The source describes a class as a "blueprint". If you have a blueprint named Car, which of the following lines of code correctly creates a specific object from that blueprint? प्रश्न: स्रोत एक क्लास को "ब्लूप्रिंट" के रूप में वर्णित करता है। यदि आपके पास Car नामक एक ब्लूप्रिंट है, तो निम्नलिखित में से कौन सी कोड की पंक्ति उस ब्लूप्रिंट से एक विशिष्ट ऑब्जेक्ट सही ढंग से बनाती है?

Question 3 / 10

To implement code reusability as described in the source, which keyword allows a Dog class to establish an "IS-A" relationship with an Animal class, thereby acquiring its properties? प्रश्न: स्रोत में वर्णित कोड पुन: प्रयोज्यता को लागू करने के लिए, कौन सा कीवर्ड एक Dog क्लास को एक Animal क्लास के साथ "IS-A" संबंध स्थापित करने की अनुमति देता है, जिससे वह उसके गुणों को प्राप्त कर सके?

Question 4 / 10

The source states that polymorphism allows a single action to be performed in different ways. Which of the following real-world scenarios best illustrates this concept? प्रश्न: स्रोत में कहा गया है कि पॉलीमॉरफिज़्म एक ही क्रिया को विभिन्न तरीकों से करने की अनुमति देता है। निम्नलिखित में से कौन सा वास्तविक-दुनिया का परिदृश्य इस अवधारणा को सबसे अच्छी तरह से दर्शाता है?

Question 5 / 10

A user interacts with a TV using a remote control, changing channels without needing to know the TV's internal circuitry. Which OOP concept does this scenario represent, as defined by the source? प्रश्न: एक उपयोगकर्ता रिमोट कंट्रोल का उपयोग करके टीवी के साथ इंटरैक्ट करता है, टीवी के आंतरिक सर्किटरी को जाने बिना चैनल बदलता है। स्रोत द्वारा परिभाषित के अनुसार, यह परिदृश्य किस OOP अवधारणा का प्रतिनिधित्व करता है?

Question 6 / 10

Which OOP concept is described by the source as "wrapping code and data together into a single unit," similar to a capsule containing different medicines? प्रश्न: स्रोत द्वारा किस OOP अवधारणा को "कोड और डेटा को एक साथ एक इकाई में लपेटने" के रूप में वर्णित किया गया है, जो विभिन्न दवाओं वाले कैप्सूल के समान है?

Question 7 / 10

According to the source, what is a key advantage of OOP that helps keep code DRY ("Don't Repeat Yourself")? प्रश्न: स्रोत के अनुसार, OOP का एक प्रमुख लाभ क्या है जो कोड को DRY ("डोंट रिपीट योरसेल्फ") रखने में मदद करता है?

Question 8 / 10

The source text states, "An Object can be defined as an instance of a class." Which of the following statements is a correct application of this definition? प्रश्न: स्रोत पाठ में कहा गया है, "एक ऑब्जेक्ट को एक क्लास के उदाहरण के रूप में परिभाषित किया जा सकता है।" इस परिभाषा का सही अनुप्रयोग निम्नलिखित में से कौन सा कथन है?

Question 9 / 10

According to the source, which feature is explicitly used to achieve runtime polymorphism in Java? प्रश्न: स्रोत के अनुसार, जावा में रनटाइम पॉलीमॉरफिज़्म प्राप्त करने के लिए किस सुविधा का स्पष्ट रूप से उपयोग किया जाता है?

Question 10 / 10

According to the source, which of the following is a valid rule for achieving method overloading in Java? प्रश्न: स्रोत के अनुसार, जावा में मेथड ओवरलोडिंग प्राप्त करने के लिए निम्नलिखित में से कौन सा एक वैध नियम है?