Match the OOP Pillar with its Core Concept:
1. Encapsulation — (a) One interface, many forms (e.g., overloading)
2. Inheritance — (b) Wrapping data and methods; data hiding
3. Polymorphism — (c) Showing only essential features, hiding complex details
4. Abstraction — (d) Reusing properties of a parent class in a child class
OOP स्तंभ को उसकी मुख्य अवधारणा से सुमेलित करें:
1. एनकैप्सुलेशन — (a) एक नाम, अनेक रूप (जैसे ओवरलोडिंग)
2. इनहेरिटेंस — (b) डेटा और मेथड्स को एक इकाई में बांधना; डेटा हाइडिंग
3. पॉलीमॉर्फिज़्म — (c) केवल आवश्यक फीचर्स दिखाना और जटिलता छिपाना
4. एब्स्ट्रैक्शन — (d) पैरेंट क्लास के गुणों को चाइल्ड क्लास में पुनः उपयोग करना
Solution Breakdown:
-> Correct matches: Encapsulation (Wrapping/Data hiding), Inheritance (Reusing parent class), Polymorphism (Many forms), Abstraction (Hiding complexity).
-> Hence, Option (B) is the correct answer.
-> सही मिलान: 1-b, 2-d, 3-a, 4-c।
-> इसलिए विकल्प (B) बिल्कुल सही है।