C++ Programming - OOPS Concepts

Exercise :: OOPS Concepts - General Questions

  • OOPS Concepts - General Questions
16. 

Which of the following concepts means adding new components to a program as it runs?

A. Data hiding
B. Dynamic typing
C. Dynamic binding
D. Dynamic loading

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

17. 

Which of the following statement is correct?

A. A constructor is called at the time of declaration of an object.
B. A constructor is called at the time of use of an object.
C. A constructor is called at the time of declaration of a class.
D. A constructor is called at the time of use of a class.

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

18. 

Which of the following correctly describes overloading of functions?

A. Virtual polymorphism
B. Transient polymorphism
C. Ad-hoc polymorphism
D. Pseudo polymorphism

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.

19. 

Which of the following approach is adapted by C++?

A. Top-down
B. Bottom-up
C. Right-left
D. Left-right

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

20. 

Which of the following is correct about function overloading?

A. The types of arguments are different.
B. The order of argument is different.
C. The number of argument is same.
D. Both A and B.

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.