Which of the following statements is/are true about polymorphism in OOPs? (i)…
2022
Which of the following statements is/are true about polymorphism in OOPs?
(i) It may be achieved by function overloading.
(ii) It is used for reusability.
- A.
Only (i)
- B.
Only (ii)
- C.
Both (i) and (ii)
- D.
Neither (i) nor (ii)
Attempted by 225 students.
Show answer & explanation
Correct answer: A
Statement (i) is true because function overloading represents compile-time polymorphism. Statement (ii) is false as reusability primarily stems from inheritance, not polymorphism itself.