Câu hỏi :

What is wrong in the following code?
Media VietJack

A. There is nothing wrong

B. One cannot have a ‘Base’ pointer to ‘Derived’ since it is not derived publicly

C. One need a derived class pointer to point to a derived class

D. One required to code a constructor for Derived

* Đáp án

B

* Hướng dẫn giải

Chọn B

Câu hỏi trên thuộc đề trắc nghiệm dưới đây !

400 Câu hỏi trắc nghiệm lập trình C/C++ có đáp án !!

Số câu hỏi: 400

Copyright © 2021 HOCTAP247