In protected inheritance The public members of the base class become public

Câu hỏi :

In protected inheritance:

A. The public members of the base class become public

B. The public members of the base class become protected

C. The protected members of the base class become private

D. The public members of the base class become inaccessible

* Đá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