General Questions (Set - 1)

Question 1 :

Which of the following type of class allows only one object of it to be created?


A). Virtual class
B). Abstract class
C). Singleton class
D). Friend class
Answer : Option C

Question 2 :

Which of the following is not a type of constructor?


A). Copy constructor
B). Friend constructor
C). Default constructor
D). Parameterized constructor
Answer : Option B

Question 3 :

Which of the following statements is correct?


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.
Answer : Option B

Question 4 :

Which of the following is not the member of class?


A). Static function
B). Friend function
C). Const function
D). Virtual function
Answer : Option B

Question 5 :

Which of the following concepts means determining at runtime what method to invoke?


A). Data hiding
B). Dynamic Typing
C). Dynamic binding
D). Dynamic loading
Answer : Option C