download Mastguru Android App

Question Detail

What among following is a generic class ?

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

1. A class having no public constructors is

  • A public protected class
  • A public class
  • A protected class
  • A private class

2. 37. Which of the following statements is false ?

  • Using typedef does not replace the standard C++ data type name with the new name
  • The new name defined by typedef, can be used as a type for another typedef
  • typedef defines new data types
  • None of the above

3. 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.

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

  • virtual
  • public
  • static
  • private

5. & operator is ?

  • address operator
  • indirection operator
  • logical and
  • logical or
Read more from - C++ Programming Questions Answers - Set 2
We are improving Commenting System, Soon it will be live. Thanks !