Why does the function arguments are called as "signatures"?
Answer Posted / padma
In the dynamic polymorphism the control has to distinguish
each function from other functions which has the same
function name.With the help of each method or function
arguments the control executes the function call,whenever it
is made.Each function call will be executed based on the
arguments passed.This is the reason, each function name
including the parameters or arguments has it own identity,
and this identification for the function is called
signature.Based on the signature, the control jumps from one
function to another in run time of the program.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is @functionalinterface annotation mandatory to define a functional interface? What is the use of @functionalinterface annotation? Why do we need functional interfaces in java?
How can we restrict inheritance for a class so that no class can be inherited from it?
Why is java not fully objective oriented?
Can a class implement two interfaces having default method with same name and signature?
Write down how will you create a Binary tree?
What is the difference between a virtual method and an abstract method?
Why is class hierarchies managed in object-oriented programming?
What is the difference between data hiding and implementation?
Difference between class and an object?
How do you prevent a class from being inherited by another class?
What is a virtual function?
How can I be thrown polymorphically?
Can a class in java be inherited from more than one class?
What is difference between encapsulation and abstraction?
What do you mean by "explicitly implemeting an interface". Give an example?