1.

Assume the C++ definition : class circle : public point Which of the following is false.?

A. The colon (:) in the header of class definition indicates inheritance.
B. All the public and protected members of class 'circle' are inherited as public and protected members , respectively, into class 'point'.
C. the keyword 'public' indicates type of inheritance.
D. 'Point' is the base class and 'circle' is the derived class.
Answer» C. the keyword 'public' indicates type of inheritance.


Discussion

No Comment Found