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 / tekle

The type or member can be accessed by any other code in the
same assembly or another assembly that references it.

private

The type or member can only be accessed by code in the same
class or struct.

protected

The type or member can only be accessed by code in the same
class or struct, or in a derived class.

Is This Answer Correct ?    18 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define private, protected and public access control.

1082


Explain the uses of static class data?

1068


What it is and how it might be called (2 methods).

1127


What are arrays c++?

1068


What are register variables?

1096


What is the main purpose of overloading operators?

1088


What sorting algorithm does c++ use?

1096


How do you define/declare constants in c++?

1021


What is the difference between public, private, and protected access?

1026


Which c++ compiler is best?

1117


Difference between declaration and definition of a variable.

1102


What's the most powerful programming language?

1006


Which is most difficult programming language?

1046


Define Virtual function in C++.

1056


How to allocate memory dynamically for a reference?

1010