topic/Constructors and Destructors
Start Test
Question No
Title
Type
Marks
618.
What happens when a class with parameterized constructors and having no default constructor is used in a program and we create an object that needs a zero-argument constructor?
MCQ
5
619.
Can a class have virtual destructor?
MCQ
5
620.
Destructor has the same name as the constructor and it is preceded by ______ .
MCQ
5
621.
For automatic objects, constructors and destructors are called each time the objects
MCQ
5
617.
A constructor that accepts __________ parameters is called the default constructor.
MCQ
5