| |
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 01:52:13 |
#5 |
| nivi.babuji |
Member Since: June 2009 Total Comments: 3 |
RE: Inheritance |
| The statement regarding structure is false because structures are generally inheritable. |
| |
Back To Question | |