Pregunta:
Explain static vs dynamic polymorphism ?
Autor: Lock HuynhRespuesta:
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 calificaciones)
1 answer(s) in total