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
Explain the different types of constructors
Can a class in java be inherited from more than one class?
Why is OOP good?
What is @functionalinterface?
What is the difference between aggregation and composition?
What is constructor and virtual function? Can we call virtual funciton in a constructor?
Explain about a class?
Explain about a class in oop?
Differentiate between a class and a method.
Can we reduce the visibility of the inherited or overridden method ?
What do you mean by abstract class?
What are the problems faced by the developer using object oriented programming language?
What is the need of multiple inheritance?
What is data abstraction? what are the three levels of data abstraction with Example?
What is the difference between an error and an exception?