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

Explain the concept of inheritance in C++.

Answer Posted / nashiinformaticssolutions

Inheritance allows one class (derived class) to acquire the properties and methods of another class (base class). Types: single, multiple, multilevel, hierarchical, hybrid.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How const int *ourpointer differs from int const *ourpointer?

1121


What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number

1269


Explain about Virtual Function in C++?

1016


What does floor mean in c++?

1060


A prime number is a number which is divisible only by itself and 1. Examples of the first few primes are 2, 3, 5, 7, 11. Consider writing a program which can generate prime numbers for you. Your program should read in and set a maximum prime to generate and a minimum number to start with when looking for primes. This program should be able to perform the following tasks: 1. Read the maximum number from user (keyboard input) to look for primes. The program should not return any primes greater than this number. 2. Read the minimum number from user (keyboard input) to look for primes. The program should not return any primes less than this number. 3. Generate and print out every prime number between the maximum prime and minimum number specified by the user.

2172


How do we balance an AVL Tree in C++?

1126


What are the comments in c++?

983


Is c++ slower than c?

1030


What is a node class in c++?

1067


Which is best c++ or java?

1078


When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?

1091


Can you explicitly call a destructor on a local variable?

1028


Describe friend function & its advantages.

1133


What are the advantages of using a pointer?

1074


Keyword mean in declaration?

1056