download Mastguru Android App

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. Which is not a correct variable type

  • float
  • int
  • double
  • real

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

  • outstream
  • stdin
  • iostream
  • None of above

3. Which operator is used to define a member of a class from outside the class definition

  • ->
  • ::
  • .
  • >>

4. Can #define accept parameters

  • Yes
  • No

5. How we define our name for constants

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