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
Why is OOP good?
Can an interface have an inner class?
Why use oops?
Can you use virtual, override or abstract keywords on an accessor of a static property?
What are the basic concepts of oop?
What is the need of multiple inheritance?
What are Classes and Objects?
What are sealed modifiers?
What is the main difference between a class and an object?
What is Abstract method and how different from Virtual Method?
Explain the abstract class modifier?
Explain static binding
What is serialization? How do we implement serialization actually?
If a method definition has been specified in class , its base class , and the interface which the class is implementing, which definition will be picked if we try to access it using interface reference and class object?
If a class inherits an interface, what are the 2 options available for that class?