Question Detail

A class having no public constructors is

  • A public protected class
  • A public class
  • A protected class
  • A private class
Similar Questions :

1. When a derived class inherits from many base classes, this process is known as ?

  • multiple inheritance
  • multilevel inheritance
  • default inheritance
  • multiplex inheritance

2. How we can define member function outside the class ?

  • Using union
  • Using structure
  • Using pointers
  • Using scope resolution

3. Inheritance is referred to as

  • “is a” relationship
  • "have a" relationship
  • both of above
  • none of above

4. Constructors has return type void ?

  • True
  • False

5. Destructors are called ?

  • not defined
  • in any order
  • in the reverse order of constructor calls
  • in the same order of constructor calls
Read more from - C++ Programming Questions Answers - Set 2