OOPS Concepts - Programming

Q1:

What will happen if a class is not having any name?

A It cannot have a destructor.

B It cannot have a constructor.

C It is not allowed.

D Both A and B.

ANS:D - Both A and B.

No answer description is available. Let's discuss.