1. In your own words describe what function overloading is at a high level.
b. How, at a high level, does it work?
c. Can you provide anymore detail as to why Java can understand it?
1 Function Overloading at a higher level refers to various implementation of functions with the same name and different type or number of arguments.
b)Function overloading works at compile time.It is also refered to as compile time polymorphism.The function name along with the type and number of arguments is used to uniquely identify the function.Therefore it uses this information to link to corresponding function calls.
c) Java as any other high level language uses the above mentioned method to uniquely identify the method therefore it works well in java.
Get Answers For Free
Most questions answered within 1 hours.