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 / hr@tgksolutions.com

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

What is &x in c++?

1048


What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?

1162


What are the different types of polymorphism in c++?

1194


What are the advantages of c++?

1992


Describe private, protected and public – the differences and give examples.

1263


Is there any difference between int [] a and int a [] in c++?

1067


What is a class template in c++?

1099


Write some differences between an external iterator and an internal iterator?

1085


Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.

1168


Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.

2267


What is meant by const_cast?

1180


What are the two main components of c++?

1154


Mention the purpose of istream class?

1154


Is map ordered c++?

1146


What gives the current position of the put pointer?

1042