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

What is the difference between public, private, protected
inheritance?

Answer Posted / vivek kumar kaushal

Public: this is member function of its own and anyother
class.
Private: Class member access within its class.
Protected:this is member function to its own and derived
class.

Is This Answer Correct ?    34 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is vector pair in c++?

1183


How can I learn dev c++ programming?

989


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

1066


How to implement is-a and has-a class relationships?

975


How can you quickly find the number of elements stored in a a) static array b) dynamic array ? Why is it difficult to store linked list in an array?how can you find the nodes with repetetive data in a linked list?

1236


What is setw manipulator in c++?

1033


Define Virtual function in C++.

1049


Tell me can a pure virtual function have an implementation?

981


How to defines the function in c++?

1068


What are the advantages of using a pointer? Define the operators that can be used with a pointer.

1001


What is an adaptor class or wrapper class in c++?

1112


What are the 3 levels of programming languages?

1001


Which bit wise operator is suitable for putting on a particular bit in a number?

1154


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

1006


What do nonglobal variables default to a) auto b) register c) static

1111