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

Why c++ does not have finally?

1016


what are Access specifiers in C++ class? What are the types?

1143


What are the two types of comments?

940


What do you mean by early binding?

1007


What is the real purpose of class – to export data?

1053


What type of question are asked in GE code writing test based on c++ data structures and pointers?

3919


How long it will take to learn c++?

990


What is the difference between an array and a list?

974


What is the identity function in c++? How is it useful?

990


In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?

1015


Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)

1877


Explain the isa and hasa class relationships. How would you implement each?

1061


What happens when you make call 'delete this;'?

1017


How do you clear a buffer in c++?

916


Why would you use pointers in c++?

1090