How polymorphism achieved at compile time and runtime?
Answers
Answered by
1
Overriding is a run time polymorphism that has a similar method with same parameters or signature, yet it is also associated with a class & its subclass.
It is achieved by using function overloading and operator overloading. It also uses pointers and virtual functions which makes execution faster at given compile time.
Similar questions
History,
8 months ago
World Languages,
8 months ago
Math,
8 months ago
Chemistry,
1 year ago
Math,
1 year ago
Physics,
1 year ago
Psychology,
1 year ago