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. What is class in c++ ?

  • When you define a class, you define a blueprint for a data type.
  • When you define a class, you make get more funtionality.
  • When you define a class, you define the logic.
  • When you define a class, you make debugging.

2. Which is more memory efficient ?

  • structure
  • union
  • both use same memory
  • depends on a programmer

3. & operator is ?

  • address operator
  • indirection operator
  • logical and
  • logical or

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. Inheritance is referred to as

  • “is a” relationship
  • "have a" relationship
  • both of above
  • none of above
Read more from - C++ Programming Questions Answers - Set 2
Post a comment