Question: Which of the following statement is correct?
Options
A : A constructor of a derived class can access any public and protected member of the base class.
B : Constructor cannot be inherited but the derived class can call them.
C : A constructor of a derived class cannot access any public and protected member of the base class.
D : Both A and B.
Constructors and Destructors - General Questions more questions
A destructor takes __________ arguments.
Destructor calls are made in which order of the corresponding....
Which of the following never requires any arguments?
A class's __________ is called when an object is destroyed.
Destructors __________ for automatic objects if the program terminates with....
Which of the following statements are correct?
How many times a constructor is called in the life-time....
Which of the following gets called when an object is....
To ensure that every object in the array receives a....
Which of the following statement is correct about constructors?
Constructors and Destructors - General Questions more Online Exam Quiz
Operating Systems Concepts - Part 1
System Analysis and Design - Part 1
Objects and Classes - General Questions
OOPS Concepts - General Questions