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
what are the different ways for a method to be overloaded?
What are abstract classes?
What are the methods required to create changes in subclasses?
What is overriding?
What is early and late Binding?
Can an interface implement or extend another interface?
What is the difference between aggregation and composition?
Differentiate between data abstraction and encapsulation.
What is the purpose of late binding in object-oriented programming?
What are different ways to create string object?
How can we call the base method without creating an instance?
What is meant by function overloading and function overriding?
Do we require a parameter for constructors?
Difference between encapsulation and data hiding ?
Give any criteria when you use an abstract class and an interface?