| |
GeekInterview.com > Interview Questions > Programming > C++
| Print | |
Question: Inheritance
Answer: Which one of the following statements regarding C++ class inheritance is FALSE?
a. Inheritance promotes generic design and code reuse. b. Struct cannot be inherited in C++.
c. C++ supports multiple inheritance. d. Inheritance is a mechanism through which a subclass inherits the properties and behavior of its superclass.
|
| June 06, 2009 00:56:37 |
#4 |
| tewari2312 |
Member Since: June 2009 Total Comments: 4 |
RE: Inheritance |
b. is False
Struct can be inherited in C++.
Other 3 options are true. |
| |
Back To Question | |