Open In App

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

Like Article
Like
Save
Share
Report

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


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