Q.

How do we declare an abstract class?

A. by providing at least one pure virtual method (function signature followed by ==0;) in a class
B. by declaring at least one method abstract using the keyword ‘abstract’ in a class
C. by declaring the class abstract with the keyword ‘abstract’
D. it is not possible to create abstract classes in c++
Answer» A. by providing at least one pure virtual method (function signature followed by ==0;) in a class
1.8k
0
Do you find this helpful?
4

Discussion

No comments yet