Question Detail

The antonym of constructor is ?

  • Creator
  • Distinct
  • Destroyer
  • Destructor
Similar Questions :

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

  • Private
  • Public
  • Protected
  • Depends

2. Classes in c++ are ?

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

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

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

4. A virtual base class ?

  • is qualified as virtual in base class definition.
  • do not qualified as virtual in base class definition.
  • allows to inherit more than one copy of the base class members.
  • strict the path of inheritance.

5. Classes that can be used to instantiate objects are called concrete classes.

  • True
  • False
Read more from - C++ Programming Questions Answers - Set 2