Question 1 of 25
Hints left: 3
Q1
What is the purpose of the 'static' keyword in C++?
Q2
Which keyword is used to inherit a class in C++?
Q3
What is the purpose of the 'virtual' keyword in C++?
Q4
Which keyword is used to define a class in C++?
Q5
What is an abstract class in C++?
Q6
What is function overriding in C++?
Q7
What is a constructor in C++?
Q8
What is operator overloading in C++?
Q9
Which access specifier allows a member to be accessible only within its own class and derived classes in C++?
Q10
What is the process of wrapping data and functions into a single unit called in C++?
Q11
What is polymorphism in C++?
Q12
Which concept allows a derived class to inherit properties and behavior from a base class in C++?
Q13
What is the purpose of friend functions in C++?
Q14
What is the access specifier that allows members to be accessed only within the same class or by derived classes in C++?
Q15
What is the process of creating an instance of a class called in C++?
Q16
Which of the following is true about constructors in C++?
Q17
Which keyword is used to access the base class members from a derived class in C++?
Q18
What is the difference between 'struct' and 'class' in C++?
Q19
What is inheritance in C++?
Q20
Which keyword is used to specify that a function cannot be overridden in a derived class in C++?
Q21
What is the access specifier that allows members to be accessed from outside the class in C++?
Q22
Which concept in C++ allows a class to have multiple functions with the same name but different parameter lists?
Q23
What is dynamic polymorphism in C++?
Q24
What is the purpose of a destructor in C++?
Q25
What is encapsulation in C++?