Question Detail

What among following is a generic class ?

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

1. Inheritance is transitive in nature.

  • True
  • False

2. The objects can directly access ?

  • Public members
  • Private members
  • Both of above
  • None of above

3. Classes in c++ are ?

  • Fundamental data type
  • Primitive data type
  • Desired data type
  • Not defined

4. Queues are based on ?

  • LIFO
  • FIFO
  • LILO
  • FILO

5. Which among following is correct way of declaring object of a class ?

  • Classname Objectname;
  • Class Classname Objectname;
  • Class Classname Object Objectname;
  • Classname Object Objectname;
Read more from - C++ Programming Questions Answers - Set 2