Which of the following is not true about polymorphism?
Asked In Exam: BPSC TRE 3.0
Options
- A. It is feature of OOP
- B. Ease in readability of program
- C. Increases overhead of function definition always
- D. Helps in redefining the same functionality
Asked In Exam: BPSC TRE 3.0
C. Increases overhead of function definition always
Let’s check each option:
(b) It is feature of OOP → ✅ True
(c) Ease in readability of program → ✅ True (polymorphism makes code cleaner and more flexible)
(a) Helps in redefining the same functionality → ✅ True (function overriding / overloading)
(d) Increases overhead of function definition always → ❌ Not true
Polymorphism does not always increase overhead.
Compile-time polymorphism (function overloading) has no runtime overhead.
Runtime polymorphism (virtual functions) may have slight overhead due to dynamic binding, but not always.
In C++, both types exist:
Compile-time polymorphism
Runtime polymorphism
So the statement that it always increases overhead is incorrect.
Attempt Quiz Now:
BPSC Tre 4.0 OOPS Concepts Practice Set