OOPS Concepts - General Questions Online Exam Quiz
OOPS Concepts - General Questions GK Quiz. Question and Answers related to OOPS Concepts - General Questions. MCQ (Multiple Choice Questions with answers about OOPS Concepts - General Questions
Which of the following type of class allows only one object of it to be created?
Options
A : Virtual class
B : Abstract class
C : Singleton class
D : Friend class
Which of the following is not a type of constructor?
Options
A : Copy constructor
B : Friend constructor
C : Default constructor
D : Parameterized constructor
Which of the following statements is correct?
Options
A : Base class pointer cannot point to derived class.
B : Derived class pointer cannot point to base class.
C : Pointer to derived class cannot be created.
D : Pointer to base class cannot be created.
Which of the following is not the member of class?
Options
A : Static function
B : Friend function
C : Const function
D : Virtual function
Which of the following concepts means determining at runtime what method to invoke?
Options
A : Data hiding
B : Dynamic Typing
C : Dynamic binding
D : Dynamic loading
Which of the following term is used for a function defined inside a class?
Options
A : Member Variable
B : Member function
C : Class function
D : Classic function
Which of the following concept of oops allows compiler to insert arguments in a function call if it is not specified?
Options
A : Call by value
B : Call by reference
C : Default arguments
D : Call by pointer
How many instances of an abstract class can be created?
Options
A : 1
B : 5
C : 13
D : 0
Which of the following cannot be friend?
Options
A : Function
B : Class
C : Object
D : Operator function
Which of the following concepts of OOPS means exposing only necessary information to client?
Options
A : Encapsulation
B : Abstraction
C : Data hiding
D : Data binding
Constructors and Destructors - General Questions more Online Exam Quiz
Constructors and Destructors - General Questions
Objects and Classes - General Questions