Why does the function arguments are called as "signatures"?
Answer Posted / some guy
Actually, the answer is not complete, so as question is
not, let's say, "perfect". "signature" is not arguments
only, but plus "const"ness. For example in example above,
in class person there could be absolutely legal to have two
functions:
char getsex();
char getsex() const;
Though the answer would be ABSOLUTELY correct, so as the
question, in case we're talking about "functions" and NOT
about "member functions"
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Is is possible to define our own functional interface?
What are the interfaces you used in beans?
Can you create an instance for an abstract class?
What is early and late Binding?
If a class inherits an interface, what are the 2 options available for that class?
What are all the operators that cannot be overloaded?
What is a try/ catch block?
Why dynamic binding is used in object-oriented programming?
What is meant by function overloading and function overriding?
What is the use if instanceof keyword? And how do refer to a current instance of object?
What is the benefit of Composition over Inheritance?
Explain method overriding.
How can I be thrown polymorphically?
Explain what is polymorphism?
How does abstraction differ from encapsulation.