The Gateway to Computer Science Excellence
+5 votes
5.9k views

We can make a class abstract by

  1. Declaring it abstract using the virtual keyword
  2. Making at least one member function as virtual function
  3. Making at least one member function as pure virtual function
  4. Making all member function const.
in Object Oriented Programming by Veteran (105k points)
retagged | 5.9k views

1 Answer

+7 votes
Best answer

Answer is c)

A pure virtual function or abstract function in C++ is a virtual function for which we don’t have any implementation, we can only declare it......

A pure virtual function is implemented by classes which are derived from a abstract class...

Ref: https://msdn.microsoft.com/en-us/library/c8whxhf1.aspx

by Veteran (50.6k points)
selected by
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,647 questions
56,458 answers
195,366 comments
100,249 users