![Mcqmate logo](https://mcqmate.com/public/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/public/images/logos/logo-white.png)
McqMate
Q. |
Which of the following statement is correct? |
A. | Constructor has the same name as that of the class. |
B. | Destructor has the same name as that of the class with a tilde symbol at the beginning. |
C. | Both A and B. |
D. | Destructor has the same name as the first member function of the class. |
Answer» C. Both A and B. |
View all MCQs in
Object Oriented Programming with C++ (OOP in C++)No comments yet