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


Which one of the following describes characteristics of
"protected" inheritance?
a) The base class has access only to the public or protected
members of the derived class.
b) The derived class has non-public, inheritable, access to
all but the private members of the base class.
c) The derived class has access to all members of the base
class.
d) The private members of the base class are visible within
the derived class.
e) Public members of the derived class are privately
accessible from the base class.

Answers were Sorted based on User's Feedback



Which one of the following describes characteristics of "protected" inheritance? a) Th..

Answer / guest

Answer is b)

Is This Answer Correct ?    7 Yes 0 No

Which one of the following describes characteristics of "protected" inheritance? a) Th..

Answer / ravi

the right answer is b
option <b>

Is This Answer Correct ?    2 Yes 0 No

Which one of the following describes characteristics of "protected" inheritance? a) Th..

Answer / himani

Option B is correct answer

Is This Answer Correct ?    2 Yes 0 No

Which one of the following describes characteristics of "protected" inheritance? a) Th..

Answer / roshanpr

d

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More C++ General Interview Questions

What are the differences between a struct and a class in C++?

7 Answers   Amazon, Wipro,


How to create a reference variable in C++

1 Answers  


What is size of a object of following class? class Foo { public: void foo(){} }

2 Answers   CA,


What are the two types of polymorphism?

0 Answers  


What do you understand by zombie objects in c++?

0 Answers  


What is the difference between public and private data members?

0 Answers  


When should overload new operator on a global basis or a class basis?

0 Answers  


What is namespace std; and what is consists of?

0 Answers  


Difference between delete and free.

0 Answers  


Can we use this pointer in a class specific, operator-overloading function for new operator?

0 Answers  


What is the v-ptr?

0 Answers  


Why c++ is created?

0 Answers  


Categories