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
Math,
7 months ago
Accountancy,
7 months ago
Hindi,
7 months ago
Chemistry,
1 year ago
Math,
1 year ago
Physics,
1 year ago
Psychology,
1 year ago