Which of the following is true about pure virtual functions?1) Their implementation is not provided in a class where they are declared.2) If a class has a pure virtual function, then the class becomes abstract class and an instance of this class cannot be created.

🎲 Try a Random Question  |  Total Questions in Quiz: 100  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
C++ Programming Practice Test 2 — practice the complete quiz, review flashcards, or try a random question.


Which of the following is true about pure virtual functions?<br>1) Their implementation is not provided in a class where they are declared.<br>2) If a class has a pure virtual function, then the class becomes abstract class and an instance of this class cannot be created.