My Report

Object Oriented Programming Practice Test 6


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement

1. Can the derived class be made abstract if multiple inheritance is used?

2. Virtual functions are mainly used to achieve _____________

3. Each class can inherit the base class ________________

4. Which among the following is true?

5. Which programming language restricts the use of multiple inheritance?

6. Which type of inheritance is most suitable for inheriting Same syllabus into different colleges with different streams?

7. How many classes should a program contain to implement the multiple inheritance?

8. Virtual function is ______ class function which expected to be redefined in ______ class, so that when reference is made to derived class object using pointer then we can call virtual function to execute ________ class definition version.

9. Diamond problem includes ____________________ hybrid inheritance.

10. The sequence of destructors being called while using hybrid inheritance is ____________


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.