The method overriding is also known as ________ time polymorphism.

  • compile-time
  • dynamic
  • runtime
  • static
Method overriding is a form of polymorphism that occurs at runtime, making it dynamic polymorphism. It allows the actual method to be determined at runtime based on the object's type, which is why it's also known as runtime polymorphism.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *