A class can have many methods with the same name as long as the number of parameters or type of parameters is different. This oop concept is known as ____________.
Answers
Answered by
1
Answer:
Hence, it is also known as compile time polymorphism.
Explanation:
Overloading occurs when more than one method with same name but different constructor and also when same signature but different number of parameters and/or parameter type.
Answered by
12
a class can have many methods with the same name as long as the number of parameters and type of parameters is different this OHP concept is known as POLYMORPHISM
Similar questions