ACreating multiple functions with different names for each type
BChanging the function name based on input type
CUsing the same function name to handle different data types
DWriting functions that only accept one data type
Step-by-Step Solution
Solution:
Step 1: Understand polymorphism concept
Polymorphism means one interface, many forms. In functions, it means one function name works with different data types.
Step 2: Match with options
Using the same function name to handle different data types describes using the same function name to handle different types, which is polymorphism through functions.
Final Answer:
Using the same function name to handle different data types -> Option C
Quick Check:
Polymorphism through functions = Using same function name for different types [OK]
Quick Trick:Same function name, different data types means polymorphism [OK]
Common Mistakes:
MISTAKES
Thinking polymorphism means different function names
Believing functions must accept only one type
Confusing polymorphism with inheritance
Master "Polymorphism and Dynamic Behavior" in Python
9 interactive learning modes - each teaches the same concept differently