How do we declare an abstract class?

- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
How do we declare an abstract class?

1.By providing at least one pure virtual method (function signature followed by ==0;) in a class

2.By declaring at least one method abstract using the keyword ‘abstract’ in a class

3.By declaring the class abstract with the keyword ‘abstract’

4.It is not possible to create abstract classes in C++

Posted Date:-2021-02-19 18:52:00


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!