Question Detail

What among following is a generic class ?

  • Function Template
  • Class Template
  • Inherited Template
  • None of above
Similar Questions :

1. The advantage of declaring a virtual function as pure is
?

  • programs runs faster
  • early binding can be achieved
  • you force any derived class to define its own implementation
  • you can avoid making the class an abstract class

2. Constructors has return type void ?

  • True
  • False

3. A Variable __ of void type.

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

4. Classes that can be used to instantiate objects are called concrete classes.

  • True
  • False

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

  • virtual
  • public
  • static
  • private
Read more from - C++ Programming Questions Answers - Set 2