Assume the C++ definition : class circle : public point Which of the following…
KVS TGT/PGT 2017Kendriya Vidyalaya Sangathan 2017
Assume the C++ definition : class circle : public point Which of the following is false?
- A.
‘Point’ is the base class and ‘circle’ is the derived class.
- B.
The colon (:) in the header of class definition indicates inheritance.
- C.
The keyword ‘public’ indicates type of inheritance.
- D.
All the public and protected members of class ‘circle’ are inherited as public and protected members, respectively, into class ‘point’.
Attempted by 532 students.
Sign up free to check your answer
Sign up freeLoading lesson…

