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. Difference between static and dynamic memory allocation is

  • In static memory allocation memory to be allocated in preknown
  • In dynamic memory allocation memory to be allocated in preknown
  • There is no differnece
  • Not exact difference is mentioned

2. Can we overload constructors in C++

  • Yes
  • No

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

  • Virtual class
  • Abstract class
  • Singleton class
  • Friend class

4. what is the size of int datatype for 32 bit system

  • 1 byte
  • 2 byte
  • 4 byte
  • 8 byte

5. How we define our name for constants

  • #constant
  • #define
  • #define_constant
  • #constant_define
Read more from - C++ Programming Questions Answers - Chapter 1