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

How does code-bloating occur in c++?

1239


How will you call C functions from C ++ and vice-versa?

1190


What is the difference between new() and malloc()?

2222


What is a .lib file in c++?

1046


Explain the difference between new() and malloc() in c++?

1175


Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?

2587


What is lvalue?

1216


What is iostream in c++ used for?

1081


What is a v-table?

1229


Why ctype h is used in c++?

992


Difference between delete and free.

1135


Is oops and c++ same?

1092


What are function prototypes?

1292


How is modularity introduced in C++?

1283


Explain the difference between abstract class and interface in c++?

1037