

MCQOPTIONS
Saved Bookmarks
This section includes 9 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. |
which of this can not be declared as virtual |
A. | Constructor |
B. | Destructor |
C. | Both A & B |
D. | None of the above |
E. | |
Answer» D. None of the above | |
2. |
|
A. | Call one-argument constructor of the class |
B. | Work without any problem |
C. | Call itself recursively |
D. | Call zero-argument constructor |
Answer» D. Call zero-argument constructor | |
3. |
|
A. | 0 |
B. | 10 |
C. | 3 |
D. | None of the above |
Answer» C. 3 | |
4. |
|
A. | Compile Time Error |
B. | Object Created. |
C. | Run Time Error |
D. | Cannot be predicted |
Answer» C. Run Time Error | |
5. |
|
A. | Compile Time Error |
B. | Run Time Error |
C. | No Error |
D. | Warning |
Answer» B. Run Time Error | |
6. |
|
A. | The program will print the output Short . |
B. | The program will print the output Final . |
C. | The program will print the output Float . |
D. | The program will print the output Int. |
Answer» E. | |
7. |
|
A. | The program will print the output 80. |
B. | The program will print the output 112. |
C. | The program will print the output garbage value. |
D. | The program will report compile time error. |
Answer» B. The program will print the output 112. | |
8. |
|
A. | The program will print the output 50. |
B. | The program will print the output Garbage-value. |
C. | The program will report compile time error. |
D. | The program will report runtime error. |
Answer» D. The program will report runtime error. | |
9. |
|
A. | The program will print the output find. |
B. | The program will print the output course. |
C. | The program will print the output findcourse. |
D. | The program will report compile time error. |
Answer» D. The program will report compile time error. | |