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

What is the size of a vector?

1139


What is srand c++?

1108


In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?

1066


How do I start a c++ project?

1074


Describe the process of creation and destruction of a derived class object?

1115


Where are setjmp and longjmp used in c++?

1115


What is the use of endl in c++ give an example?

1165


What is a catch statement?

1048


Name the operators that cannot be overloaded in C++?

1050


How do you establish an is-a relationship?

1153


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

1181


Explain register storage specifier.

1024


What do you mean by translation unit?

1093


What do the header files usually contains?

1055


What is friend class in c++ with example?

1027