Question Detail

Which of the following type of class allows only one object of it to be created

  • Virtual class
  • Abstract class
  • Singleton class
  • Friend class
Similar Questions :

1. What is polymorphism

  • Ability to take more than one form
  • Ability to destroy destructor
  • Ability to create constructor
  • None of above

2. cout is declared in the _____ standard file within the std namespace

  • outstream
  • stdin
  • iostream
  • None of above

3. Default constructor has how many arguments

  • 1
  • 2
  • 3
  • 0

4. Meaning of STL

  • Standard Tree Library
  • Standard Term Library
  • Standard Template Library
  • None of above

5. If no constructor is there, then compiler assumes the class to have a default constructor with no arguments

  • True
  • False
Read more from - C++ Programming Questions Answers - Chapter 1