What is the process of defining more than one method in a class differentiated by parameters known as?
A. Function overriding
B. Function overloading
C. Function doubling
D. None of the mentioned
Answer:A
What is the process of defining more than one method in a class differentiated by parameters known as?
A. Function overriding B. Function overloading C. Function doubling D. None of the mentioned
Explanation: Function overloading is a process of defining more than one method in a class with same name differentiated by function signature i:e return type or parameters type and number. Example – int volume(int length, int width) & int volume(int length, int width, int height) can be used to calculate volume.