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...

class base
{
public:
int fun(int)
{}
};
class base2
{
public:
int fun(float)
{
}
};
so here qustion is both function either function
overloading or over riding;

Answer Posted / adarsh gumashta

Overloading would be possible if class 2 extended class1
but in the case its not there . so neither overloading nor overriding .

http://stackoverflow.com/a/14181786

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does new do in c++?

1063


What information can an exception contain?

1123


What is enum class in c++?

1233


Explain terminate() and unexpected() function?

1087


Should you pass exceptions by value or by reference?

1125


Can we use this pointer in a class specific, operator-overloading function for new operator?

1094


What is the keyword auto for?

1027


write a porgram in c++ that reads an integer and print the biggest digit in the number

2241


What is the use of class in c++?

1067


What is a unnitialised pointer?

1059


Can we use pointers in c++?

1038


How are pointers type-cast?

1099


Will rust take over c++?

1046


What do you mean by const correctness?

1073


What is the basic concept of c++?

1000