Object-Oriented Programming (OOP)
An OOP concept that allows objects of different classes to be treated through a common interface. What is this concept called?
Difficulty: Medium
About this MCQ
This Medium Object-Oriented Programming (OOP) MCQ checks one syllabus fact.
The question is: “An OOP concept that allows objects of different classes to be treated through a common interface. What is this concept called?”
The accepted answer is C. Polymorphism. “An OOP concept that allows objects of different classes to be treated through a common interface. What is this concept called” is answered by Polymorphism (option C). Option A (“Class”) does not match the stem; it is a near-miss used to catch incomplete recall of Polymorphism. Option B (“Constructor”) does not match the stem; it is a near-miss used to catch incomplete recall of Polymorphism. Remaining alternatives (Encapsulation) fall outside the same rule and should be eliminated once Polymorphism is identified. Object-Oriented Programming (OOP) questions of this type reward precise definitions rather than approximate associations. Object-Oriented Programming (OOP) recall of this distinction is a regular item in FPSC, PPSC, NTS, and CSS papers.
- A. Class
Why not A: “Class” is not correct. The accepted answer is C. Polymorphism. “An OOP concept that allows objects of different classes to be treated through a common interface. What is this concept called” is answered by Polymorphism (option C). Option A (“C
- B. Constructor
Why not B: “Constructor” is not correct. The accepted answer is C. Polymorphism. “An OOP concept that allows objects of different classes to be treated through a common interface. What is this concept called” is answered by Polymorphism (option C). Option A (“C
- C. Polymorphism ✓
- D. Encapsulation
Why not D: “Encapsulation” is not correct. The accepted answer is C. Polymorphism. “An OOP concept that allows objects of different classes to be treated through a common interface. What is this concept called” is answered by Polymorphism (option C). Option A (“C
Correct answer
C. Polymorphism
Explanation
“An OOP concept that allows objects of different classes to be treated through a common interface. What is this concept called” is answered by Polymorphism (option C). Option A (“Class”) does not match the stem; it is a near-miss used to catch incomplete recall of Polymorphism. Option B (“Constructor”) does not match the stem; it is a near-miss used to catch incomplete recall of Polymorphism. Remaining alternatives (Encapsulation) fall outside the same rule and should be eliminated once Polymorphism is identified. Object-Oriented Programming (OOP) questions of this type reward precise definitions rather than approximate associations. Object-Oriented Programming (OOP) recall of this distinction is a regular item in FPSC, PPSC, NTS, and CSS papers.
Source: Object-Oriented Programming (OOP) Official Reference Guide
Tags: computer science, oop, object-oriented programming, software design
Submitted by: MCQsHub Editorial
Related MCQs
- Identify the correct concept described as: an OOP mechanism that allows a class to acquire properties and beha...
- Which of the following best names the concept in which an OOP principle that bundles data and methods together...
- Which of the following best describes Object?
- What is the function or purpose of Encapsulation?
- What is the name for an instance of a class that contains actual values for the properties defined by the clas...
- The concept in which an OOP principle that hides complex implementation details and exposes only essential fea...