What are types of polymorphism?
Sigiloso
Polymorphism is the way by which one function can have many forms. Poly means "many" and morph means "forms" so the polymorphism. There are 2 types of it, mainly "compile time polymorphism" and "runtime polymorphism". When function call resolves at compile time then is is compile time polymorphism and if at runtime call is resolved then runtime polymorphism.