Explain the differences among overloading, coercion, and polymorphism.
Answers
Answered by
1
Overloading is the process of redefining the existing operator in order to obtain the functionality of the operators.
Coercion is the process in which compiler automatically converts the value of one data type into the value of another data type depending upon the requirement.
Polymorphism is the combination of different data types revealing different value.
Similar questions
Math,
8 months ago
Math,
8 months ago
Hindi,
8 months ago
Social Sciences,
1 year ago
Chemistry,
1 year ago