Quiz on C++ Object Oriented Programming



1. What is the main feature of Object-Oriented Programming in C++?
2. What keyword is used to define a class in C++?
3. Which of the following is NOT a type of inheritance in C++?
4. What is the purpose of the 'virtual' keyword in C++?
5. Which operator is used to access members of a class in C++?

Advertisements