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. 37. Which of the following statements is false ?

  • Using typedef does not replace the standard C++ data type name with the new name
  • The new name defined by typedef, can be used as a type for another typedef
  • typedef defines new data types
  • None of the above

2. A class having no public constructors is

  • A public protected class
  • A public class
  • A protected class
  • A private class

3. The members of a class are ?

b) by default are private
c) are made private by declaring as private
d) none of the above]

  • have no visibility by default
  • public by default
  • private by default
  • protected by default

4. Queues are based on ?

  • LIFO
  • FIFO
  • LILO
  • FILO

5. What is true about Constructor ?

  • Its name is plural of class name.
  • Its name has * symbol before it.
  • Its name is same as of class name.
  • Its name has # symbol before it.
Read more from - C++ Programming Questions Answers - Set 2