Question Detail

An explicitly defined destructor function

  • may be virtual
  • may not be virtual
  • will always be virtual
  • will never be virtual
Similar Questions :

1. Only one copy of the class is inherited, when it is defined as ?

  • virtual
  • public
  • static
  • private

2. Enumerator will allocate the memory when its variables are defined.

  • True
  • False

3. When a derived class inherits from many base classes, this process is known as ?

  • multiple inheritance
  • multilevel inheritance
  • default inheritance
  • multiplex inheritance

4. A Variable __ of void type.

  • May be declared
  • Can be initialized
  • Cannot be intialized
  • Cannot be declared

5. A class having no public constructors is

  • A public protected class
  • A public class
  • A protected class
  • A private class
Read more from - C++ Programming Questions Answers - Set 2