C++ Inheritance - Quizizz
C++ Inheritance - Quizizz
C++ Inheritance - Quizizz
C++ Inheritance
Class
Total questions: 12
Worksheet time: 6mins
Date
Instructor name: Ishita Malhotra
Multiple Choice
Multiple Choice
Multiple Choice
4. What is the difference between public, private, and protected inheritance in C++?
Multiple Choice
Multiple Choice
Multiple Choice
a) Use the 'static' keyword when b) Use the 'sealed' keyword when
declaring the class. declaring the class.
c) Use the 'private' keyword when d) Use the 'final' keyword when
declaring the class. declaring the class.
Multiple Choice
Multiple Choice
11. What are the different types of polymorphism in C++? Explain with examples.