MCQOPTIONS
Saved Bookmarks
This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Note:Includes all required header filesclass find {public: void print() { cout <10.Which symbol is used to create multiple inheritance? |
| A. | Dot |
| B. | Comma |
| C. | Dollar |
| D. | None of the above |
| E. | |
| Answer» C. Dollar | |
| 2. |
Inheritance allow in C++ Program? |
| A. | Class Re-usability |
| B. | Creating a hierarchy of classes |
| C. | Extendibility |
| D. | All of the above |
| Answer» E. | |
| 3. |
What will be the order of execution of base class constructors in the following method of inheritance.class a: public b, public c {...}; |
| A. | b(); c(); a(); |
| B. | c(); b(); a(); |
| C. | a(); b(); c(); |
| D. | b(); a(); c(); |
| Answer» B. c(); b(); a(); | |