27. In the derived class definition, you list from the base class Select one: a.
ID: 3680095 • Letter: 2
Question
27.
In the derived class definition, you list from the base class
Select one:
a. all the member functions every time.
b. only those member functions that need to be redefined.
c. only those member functions that were in the public section.
d. only those member functions you want to overload.
28.
If you have a copy constructor in the base class, but do not have a copy constructor for the derived class, then
Select one:
a. you will have a syntax error.
b. a copy constructor for the derived class is automatically created for you.
c. you cannot use pointer variables.
d. the default constructor is used.
29.
Destructors are not inherited into the derived class.
Select one:
True
False
30.
Using inheritance allows us to
Select one:
a. eliminate duplicate code.
b. make our classes more modular.
c. use polymorphism.
d. All of these.
e. None of these.
Explanation / Answer
27. Answer is option D
28. Answer is opton B.
29. True
30.Answer is option D.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.