6 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 194
Correct 35
Incorrect 47
Viewed 112

Answers

Guest
Guest
Sadia
Sadia - 3 weeks ago

Sadia is saying An abstract base class can have pure virtual destructor is correct answer

Prachi Mor
Prachi Mor - 1 month ago

Prachi Mor is saying An abstract base class can have pure virtual destructor is correct answer

Gazal Gahlyan
Gazal Gahlyan - 2 months ago

Gazal Gahlyan from Ambala, India is saying An abstract base class can have pure virtual destructor is correct answer

Rohit Moriya
Rohit Moriya - 2 months ago

Rohit Moriya from Pune, India is saying An abstract base class cannot have destructor is correct answer

Sachin Sanjay
Sachin Sanjay - 5 months ago

Sachin Sanjay is saying An abstract base class can have only virtual destructor is correct answer

Related Questions

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

A base class will offer

  • [A] offer more specific objects than its derived classes
  • [B] correspond to something in the rest world
  • [C] behave badly when the chops are down
  • [D] be a generalized version of its derived classes

The conversion from basic data to class type can be done by .......

  • [A] Writing constructor
  • [B] Is not possible
  • [C] overloaded casting operator
  • [D] object of a class

what is Hybrid Inheritance?

  • [A] multiple inheritance
  • [B] multilevel inheritance
  • [C] multipath inheritance
  • [D] combination of a and b
  • [E] combination of a and c