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. Even if we define a function in a class, then also we need to declare it first.

  • True
  • False

2. Inheritance is transitive in nature.

  • True
  • False

3. What is default visibility mode for members of classes in C++ ?

  • Private
  • Public
  • Protected
  • Depends

4. Classes in c++ are ?

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

5. What is default scope for a structure ?

  • Private
  • Protected
  • Public
  • None of aobve
Read more from - C++ Programming Questions Answers - Set 2
Post a comment