5 years ago in C++ Inheritance

Choose most appropriate statement

[A] An abstract base class can have pure virtual destructor
[B] An abstract base class can have only virtual destructor
[C] An abstract base class can have non virtual destructor
[D] An abstract base class cannot have destructor
Loading...
Next Question

Overall Stats

Attempted 177
Correct 33
Incorrect 43
Viewed 101

Answers

Guest
Guest
Deep
Deep - 1 month ago

Deep from Kolkata, India is saying An abstract base class can have only virtual destructor is correct answer

gagan khurana
gagan khurana - 1 month ago

gagan khurana is saying An abstract base class cannot have destructor is correct answer

Dhanush Kumar
Dhanush Kumar - 3 months ago

Dhanush Kumar is saying An abstract base class can have non virtual destructor is correct answer

Kushagra Kumar
Kushagra Kumar - 4 months ago

Kushagra Kumar is saying An abstract base class cannot have destructor is correct answer

indhuja indhuja
indhuja indhuja - 4 months ago

indhuja indhuja from Erode, India is saying An abstract base class cannot have destructor is correct answer

Related Questions

Which design patterns benefit from the multiple inheritance?

  • [A] Adapter and observer pattern
  • [B] Code pattern
  • [C] Glue pattern
  • [D] None of the mentioned

Which symbol is used to create multiple inheritance?

  • [A] Dot
  • [B] Comma
  • [C] Dollar
  • [D] None of the mentioned

When a base class pointer points to derived class object?

  • [A] It can access only base class members
  • [B] It can access only derived class members
  • [C] Both base class & derived class members
  • [D] None

What is meant by multiple inheritance?

  • [A] Deriving a base class from derived class
  • [B] Deriving a derived class from base class
  • [C] Deriving a derived class from more than one base class
  • [D] None of the mentioned