Top 50+ Solved Object Oriented Programming Using C++ MCQ Questions Answer
Q. Which of the two features match each other?
a. Inheritance and Encapsulation
b. Encapsulation and Polymorphism
c. Encapsulation and Abstraction
d. Abstraction and Polymorphism
Q. What is default access specifier for data members or member functions declared within a class without any specifier, in C++?
a. Private
b. Protected
c. Public
d. Depends on Compiler
Q. If a function can perform more than 1 type of tasks, where the function name remains same, which feature of OOP is used here?
a. Encapsulation
b. Inheritance
c. Polymorphism
d. Abstraction
Q. Which feature in OOP is used to allocate additional function to a predefined operator in any language?
a. Operator Overloading
b. Function Overloading
c. Operator Overriding
d. Function Overriding
Q. Which among the following best defines abstraction?
a. Hiding the implementation
b. Showing the important data
c. Hiding the important data
d. Hiding the implementation and
Q. If class A is derived from another derived class B which is derived from class C, which class will have maximum level of abstraction?
a. Class A
b. Class B
c. Class C
d. All have the same level of abstraction
Q. Which of the following gets called when an object is being created?
a. Constructor
b. Virtual Function
c. Destructors
d. Main