Computer Science · Object Oriented Programming
Which of the following statements regarding constructors in C++ are CORRECT? (A) Constructors are invoked automatically when objects are created. (B) Constructors do not have return types, not even void, and therefore cannot return values. (C) Constructors cannot be inherited, though a derived class can call the base class constructors. (D) Constructors can be declared as virtual. Choose the correct answer from the options given below:
- 1(A), (C) and (D) Only
- 2(B), (C) and (D) Only
- 3(A), (B) and (C) Only✓
- 4(A), (B) and (D) Only
Correct answer
(A), (B) and (C) Only
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Object Oriented Programming?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Object Oriented Programming