Which of the following is NOT an object-oriented programming feature?
2021
Which of the following is NOT an object-oriented programming feature?
- A.
Inheritance
- B.
Abduction
- C.
Abstraction
- D.
Polymorphism
Attempted by 510 students.
Show answer & explanation
Correct answer: B
OOP features include:
Inheritance: one class can derive from another class.
Abstraction: implementation details are hidden behind a simpler interface.
Polymorphism: the same operation can behave differently for different object types.
Encapsulation: data and methods are bundled together.
The word Abduction is related to reasoning/inference, not to OOP features.
Therefore, Abduction is the correct answer.