Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain the purpose of composition.

966


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?

939


What is meant by function overloading and function overriding?

929


Can a class in java be inherited from more than one class?

876


What is the default access modifier for a class,struct and an interface declared directly with a namespace?

914


Explain about polymorphism?

980


What are the main features of oops?

1049


Explain about the relationship between object oriented programming and databases?

888


Can we access interface static method using interface references?

1008


What is overriding?

980


What's the benefit of using inheritance?

1068


Explain method overriding.

999


What is the practical implementation of inner classes?

902


Can an interface contain fields?

931


Explain about abstraction?

1023