Explanation MCQ OOPs

Q­6 What makes a class abstract?

A) The class must not have method definitions.

B) The class must have a constructor that takes no arguments.

C) The class must have a function definition equal to zero.

D) The class which cannot be instantiated as they are mainly for
inheritance.

Iska answer C and D both hona chaiye na because Abstract class must have a pure virtual function (jo statement C kah raha hai), but ans bas D diya hua hai

hi @ritikbunty2511_729d0258992e0982,
c and d should be correct.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.