SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

OOP Practice Questions

» Start this Course
(Practice similar questions for free)
Question:

Explain static vs dynamic polymorphism ?

Author: Lock Huynh



Answer:

Static Polymorphism (Compile-time): Achieved through method overloading or operator overloading; the method to be executed is determined at compile time. Dynamic Polymorphism (Run-time): Achieved through method overriding; the method to be executed is determined at runtime based on the object.


0 / 5  (0 ratings)

1 answer(s) in total