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

How can you link a c++ program to c functions?

1101


What are stacks? Give an example where they are useful.

1044


What are shallow and deep copies?

1110


What is linked list in c++?

1130


If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?

1103


Differentiate between structure and class in c++.

1084


What is the difference between structures and unions?

1056


Specify different types of decision control statements?

849


What is polymorphism in c++? Explain with an example?

1033


What are the types of pointer?

1092


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

1090


Is python written in c or c++?

1139


What is c++ w3school?

1107


What is copy constructor? Can we make copy constructor private in c++?

1082


Is rust better than c++?

1116