1.

Which of the following statements is wrong about inheritance?

A. Protected members of a class can be inherited
B. The inheriting class is called a subclass
C. Private members of a class can be inherited and accessed
D. Inheritance is one of the features of OOP
Answer» D. Inheritance is one of the features of OOP


Discussion

No Comment Found