Programming - C++ Language
You Are Here :: Home > C++ Language > Oops - General Questions
49. |
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
Explanation:
|
50. |
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
Explanation:
|
51. |
Which of the following term is used for a function defined inside a class?
|
A. |
Member Variable |
B.
|
Member function |
C.
|
Class function
|
D.
|
Classic function
|
|
Answer: Option B
Explanation:
|
52. |
Which of the following concept of oops allows compiler to insert arguments in a function call if it is not specified?
|
A. |
Call by value |
B.
|
Call by reference |
C.
|
Default arguments
|
D.
|
Call by pointer
|
|
Answer: Option C
Explanation:
|
53. |
How many instances of an abstract class can be created?
|
|
Answer: Option D
Explanation:
|
54. |
Which of the following cannot be friend?
|
A. |
Function |
B.
|
Class |
C.
|
Object
|
D.
|
Operator function
|
|
Answer: Option C
Explanation:
|
« prev
next »