Application Step 3
Single Choice
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.
Application Step 3
Single Choice
Which of the following is FALSE about references in C++
Previous Question
Next Question
Application Step 3
Single Choice
Which of the following functions must use reference.
Previous Question
Next Question
Application Step 3
Single Choice
Which of the following is true?
Previous Question
Next Question
Application Step 3
True or Fal
Can a destructor be virtual? Will the following program compile?
#include <iostream>
using namespace std;
class Base {
public:
virtual ~Base() {}
};
int main() {
return 0;
}
Previous Question
Next Question