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
Why dynamic loading is used in object-oriented programming?
What are the basic concepts of oop?
Write down how will you create a Binary tree?
What are abstract methods?
Explain the term constructor
Explain what is polymorphism?
How to define an abstract class?
What if we override the conflicting method in the class?
Write a program to show the inheritance used in a class.
Why use oops?
Explain the implementation phase with respect to oop?
What is the difference abstract class and interface?
How many instances can be created for an abstract class?
Can we override a method by using same method name and arguments but different return types?
Can we override static methods of a class?