GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  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 06:49:05 #1
 wsxzaq   Member Since: June 2009    Total Comments: 1 

RE: Inheritance
 
Struct cannot be inherited in C++
     

 

Back To Question