11:42 PM Interview Preparation Questions No comments
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
11:42 PM Interview Preparation Questions No comments
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++