Open In App
Related Articles

ISRO | ISRO CS 2008 | Question 71

Like Article
Save Article
Report issue
We can make a class abstract by (A) Declaring it abstract using the virtual keyword (B) Making at least one member function as virtual function (C) Making at least one member function as pure virtual function (D) Making all member function const

Answer: (C)

Explanation: An abstract class is a class that is designed to be specifically used as a base class. An abstract class contains at least one pure virtual function. A pure virtual function can be declared by using a pure specifier ( = 0 ) in the declaration of a virtual member function in the class declaration. Option (C) is correct.

Quiz of this Question

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 13 Jun, 2018
Like Article
Save Article
Share your thoughts in the comments
Similar Reads