Which among the following doesn’t come under OOP concept?

2024

Which among the following doesn’t come under OOP concept?

Answer: B. Platform independentObject-Oriented Programming (OOP) is a programming paradigm based on the concept of objects, which contain data and code. The core concepts include: Data…

  1. A.

    Data hiding

  2. B.

    Platform independent

  3. C.

    Message Passing

  4. D.

    More than one of the above

  5. E.

    None of the above

Attempted by 839 students.

Show answer & explanation

Correct answer: B

Object-Oriented Programming (OOP) is a programming paradigm based on the concept of objects, which contain data and code. The core concepts include:

  • Data Hiding: Restricting access to internal object details.

  • Message Passing: Mechanism for objects to communicate.

  • Encapsulation, Inheritance, and Polymorphism.

Platform independence is a feature of specific languages (like Java) that allows code to run on any system, but it is not a fundamental concept of OOP itself.

हिन्दी उत्तर:

ऑब्जेक्ट-ओरिएंटेड प्रोग्रामिंग (OOP) वस्तुओं की अवधारणा पर आधारित है। इसके मुख्य सिद्धांतों में डेटा छिपाना (Data Hiding) और संदेश पासिंग (Message Passing) शामिल हैं।

प्लेटफॉर्म स्वतंत्रता (Platform independence) एक भाषा की विशेषता है, न कि OOP का मौलिक सिद्धांत। इसलिए, यह विकल्प OOP अवधारणा में नहीं आता है।

Explore the full course: Bpsc

Loading lesson…