Object-Oriented Programming (OOP)
Choose the correct description of Polymorphism.
Difficulty: Medium
About this MCQ
This Medium Object-Oriented Programming (OOP) MCQ checks one syllabus fact.
The question is: “Choose the correct description of Polymorphism.”
The accepted answer is B. An OOP concept that allows objects of different classes to be treated through a common interface.. Polymorphism refers to an OOP concept that allows objects of different classes to be treated through a common interface.
- A. A blueprint that defines the properties and behaviors that objects created from it will have.
Why not A: “A blueprint that defines the properties and behaviors that objects created from it will have.” is not correct. The accepted answer is B. An OOP concept that allows objects of different classes to be treated through a common interface.. Polymorphism refers to an OOP concept that allows objects of different classes to be treated through a common interface.
- B. An OOP concept that allows objects of different classes to be treated through a common interface. ✓
- C. An OOP mechanism that allows a class to acquire properties and behaviors from another class.
Why not C: “An OOP mechanism that allows a class to acquire properties and behaviors from another class.” is not correct. The accepted answer is B. An OOP concept that allows objects of different classes to be treated through a common interface.. Polymorphism refers to an OOP concept that allows objects of different classes to be treated through a common interface.
- D. A reference used within a class to refer to the current instance of the object.
Why not D: “A reference used within a class to refer to the current instance of the object.” is not correct. The accepted answer is B. An OOP concept that allows objects of different classes to be treated through a common interface.. Polymorphism refers to an OOP concept that allows objects of different classes to be treated through a common interface.
Correct answer
B. An OOP concept that allows objects of different classes to be treated through a common interface.
Explanation
Polymorphism refers to an OOP concept that allows objects of different classes to be treated through a common interface.
Source: Object-Oriented Programming (OOP) Official Reference Guide
Tags: computer science, oop, object-oriented programming, software design
Submitted by: MCQsHub Editorial
Related MCQs
- The concept in which a special method automatically invoked when an object is destroyed, used to release resou...
- Identify the correct definition of Destructor.
- What term describes the following? a class member that belongs to the class itself rather than to any individu...
- In computer science, Static member refers to which of the following?
- Select the correct name for: a keyword that controls the visibility and accessibility of a class's members, su...
- Which statement correctly explains Access modifier?