Q:

Write down some important points related to abstract function in c++?

0

Write down some important points related to abstract function in c++?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

There are some important points related to the abstract function.

  • A class is abstract if it has at least one pure virtual function.
  • We can create pointers and references to abstract class type.
  • If we do not override the pure virtual function in the derived class, then derived class also becomes an abstract class.
  • An abstract class can have constructors.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C++ Interview Questions For Experienced

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What is the difference between a concrete class an... >>
<< What is an abstract class in c++?...