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

Briefly describe a B+ tree. What is bulk loading in it?

1346


Can you Mention some Application of C/C++?

1084


What is void pointer in c++ with example?

1105


How we can differentiate between a pre and post increment operators during overloading?

1112


What are the advantages of c++? Explain

1066


What is the type of this pointer in c++?

1073


Define upcasting.

1047


Should you pass exceptions by value or by reference?

1138


What is the use of "new" operator?

1137


Declare a class vehicle and make it an abstract data type.

972


Difference between struct and class in terms of access modifier.

1200


What is flush () in c++?

1086


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

1098


Explain the use of virtual destructor?

1081


Why is the function main() special?

1106