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

2. Which of following valid option will not return a value in c++ ?

  • free
  • void
  • empty
  • null

3. 78. If new operator is used, then the constructor function is ?

  • Copy constructor
  • Default constructor
  • Static constructor
  • Dynamic constructor

4. Can we define array of classes in c++ ?

  • Yes
  • No

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
Post a comment