The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+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 (98.3k 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.4k points)
selected by
Answer:

Related questions

+3 votes
2 answers
7
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
49,824 questions
54,735 answers
189,347 comments
80,088 users