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. The objects can directly access ?

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

2. When one class inherits from the base class, then the original class is called ?

  • derived class
  • base class
  • sub class
  • basic class

3. The major goal of inheritance in C++ is ?

  • To facilitate the reusability of code
  • To help modular programming
  • To facilitate the conversion of data types
  • To extend the capabilities of a class

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

5. A class having no public constructors is

  • A public protected class
  • A public class
  • A protected class
  • A private class
Read more from - C++ Programming Questions Answers - Set 2
Post a comment