Why does the function arguments are called as "signatures"?

Answer Posted / ash

As function name, return type and arguments helps to
identify the function which needs to be invoked hence the
name signatures. In polymorphism there can be function
overload hence args and ret type along with name are required.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between an interface and abstract class?

584


What is the difference between function overloading and over riding?

566


What is the difference between an abstract class and interface in java?

563


Explain about the analysis phase?

571


What's the order of call of constructors in inheritiance?

588






Explain what is single and multiple inheritance?

555


What is the difference abstract class and interface?

539


What is garbage collection(gc)?

582


What does it mean that a method or class is abstract?

521


How a program can be structured using the concept of object oriented programming?

561


Explain static binding

559


What is composition? Explain the purpose of composition.

555


If a class inherits an interface, what are the 2 options available for that class?

561


Explain about inheritance in oops?

571


Explain about Overloading vs Overriding ?

577