30/09/2018, 16:18

Poll: Kiểm tra kiến thức C++ - 1.03

Let’s have a discussion about this problem and get the answer here http://www.indiabix.com/cpp-programming/questions-and-answers/
3. Which of the following statement is correct regarding destructor of base class?

  • A. Destructor of base class should always be static.
  • B. Destructor of base class should always be virtual.
  • C. Destructor of base class should not be virtual.
  • D. Destructor of base class should always be private.
Bài liên quan
0