Computer Science, asked by suvajitdas1, 7 hours ago

Justify the statement "Function overloading is the compile time polymorphysm"

Answers

Answered by kamblemisha
4

Answer:

Method overloading is the compile-time polymorphism where more than one methods share the same name with different parameters or signature and different return type. Method overriding is the runtime polymorphism having same method with same parameters or signature, but associated in different classes.

Explanation:

In overloading, the method / function has a same name but different signatures. It is also known as Compile Time Polymorphism because the decision of which method is to be called is made at compile time. Overloading is the concept in which method names are the same with a different set of parameters.

Similar questions