Question Detail

What among following is a generic class ?

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

1. Which of the following keywords are used to control access to a class member ?

  • protected
  • switch
  • goto
  • for

2. In C++ Functions can returns ?

  • arrays
  • reference
  • objects
  • all of above

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

  • True
  • False

4. What is purpose of abstract class ?

  • to provide help with database connectivity.
  • to provide data input to other classes.
  • to provide security to other classes.
  • to provide an appropriate base class from which other classes can inherit.

5. What is object in C++ ?

  • Object is part of syntax of a class.
  • Object is datatype of a class.
  • Object is an instance of a class.
  • Object is function of a class.
Read more from - C++ Programming Questions Answers - Set 2