in Object Oriented Programming edited by
8,594 views
6 votes
6 votes

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 edited by
8.6k views

1 Answer

7 votes
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

selected by
by
Answer:

Related questions

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