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.
Answer Posted / guest
Answer is b)
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
can any one help to find a specific string between html tags
which is changed to a sting..
weather.html looks (for location) is
Can I learn c++ as my first language? Explain differences between new() and delete()? On throwing an exception by the animal constructor in p = new animalq, can memory leak occur? Explain this pointer? Explain one method to process an entire string as one unit? Are strings mutable in c++? Explain class invariant. What do manipulators do? What is class and structure in c++? What is the full form of dos? What data encapsulation is in c++? Why is "using namespace std;" considered bad practice? Assume an array of structure is in order by studentID field
of the record, where student IDs go from 101 to 500. Write
the most efficient pseudocode algorithm you can to find the
record with a specific studentID if every single student ID
from 101 to 500 is used and the array has 400 elements.
Write the most efficient pseudocode algorithm you can to
find a record with a studentID near the end of the IDs, say
in the range from 450 to 500, if not every single student
ID in the range of 101 to 500 is used and the array size is
only 300 Can malloc be used in c++?