Which of the following best describes polymorphism in OOP?

Which of the following best describes polymorphism in OOP?

مندرجہ ذیل میں سے کون سی او او پی میں پولیمورفزم کی بہترین وضاحت کرتا ہے؟
Explanation
  • Polymorphism allows objects to be treated as instances of their parent class.
  • This enabling them to take on different forms (e.g., method overriding or overloading).
  • It promotes flexibility and reusability in object-oriented programming.