download Mastguru Android App

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. What is default visibility mode for members of classes in C++ ?

  • Private
  • Public
  • Protected
  • Depends

2. In C++ Functions can returns ?

  • arrays
  • reference
  • objects
  • all of above

3. The objects can directly access ?

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

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