C++ Constructors Question: Download Questions PDF
Which of the following statement is correct?
A. A destructor has the same name as the class in which it is present.
B. A destructor has a different name than the class in which it is present.
C. A destructor always returns an integer.
D. A destructor can be overloaded.
![C++ Constructors Interview Answer C++ Constructors Interview Question](https://globalguideline.com/public/images/interview/30.png)
Answer:
Option A
A destructor has the same name as the class in which it is present.
A destructor has the same name as the class in which it is present.
Download C++ Constructors Interview Questions And Answers
PDF