UGC-NET | UGC NET CS 2015 Dec – III | Question 29

Which of the following is used to make an Abstract class?
(A) Making atleast one member function as pure virtual function
(B) Making atleast one member function as virtual function
(C) Declaring as Abstract class using virtual keyword
(D) Declaring as Abstract class using static keyword


Answer: (A)

Explanation: Making atleast one member function as pure virtual function is the method to make abstract class.
For more information on Abstract Class Refer:Pure Virtual Functions and Abstract Classes in C++
Option (A) is correct.

Quiz of this Question




My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.