OOPs Concepts on C++ related Questions and Answers


Question :   What will happen if a class is not having any name?
1. It cannot have a destructor
2. It cannot have a constructor.
3. It is not allowed
4. Both A and B.
Answer :   4 - Both A and B.  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter