📚 Question Bank Q90 — Programming and Data Structure
Tags
Programming and Data Structure
Q90. Marks: +2.0 UGC NET Paper 2: Computer Science 7th Dec 2023 Shift 2

Which of the statement are CORRECT?

(A) Constructors are invoked automatically when the objects are created.

(B) Constructors do not have return types, not even void and therefore they 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), (B) and (D) Only
2.(A), (B) and (C) Only  ✓ Correct
3.(B), (C) and (D) Only
4.(A), (C) and (D) Only
📄 All “Programming and Data Structure” questions across papers
🏷 Change Tag for this Question