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

Can we call a base class method without creating instance?

Answer Posted / amit sharma

U've to derieve the class first and then when u instanciate
the derieved class. Then :-

U can call it using derieved class object or in a derieved
class member function depending upon base class fun's acess
specifer and inheritence specifier.

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is encapsulation and abstraction? How are they implemented in C++?

1187


What is abstraction in oop with example?

1189


What is the important feature of inheritance?

1188


What is the main feature of oop?

1202


what are the ways in which a constructors can be called?

2200


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

3603


What is inheritance write a program to show use of inheritance?

1202


How does polymorphism work?

1186


Which is not an object oriented programming language?

1034


Prepare me a program for the animation of train

2537


Why polymorphism is used in oops?

1106


What is solid in oops?

1203


• What are the desirable attributes for memory managment?

2281


to find out the minimum of two integer number of two different classes using friend function

2184


What is polymorphism in oop example?

1070