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 operator is used to define a member of a class from outside the class definition

  • ->
  • ::
  • .
  • >>

2. Declaring pointer more than one can cause

  • Trap
  • abort a program
  • error
  • none of above

3. Which operator is used for comparing two variables

  • :=
  • =
  • =:
  • ==

4. Which of the following cannot be inherited from the base class

  • Constructor
  • Friend
  • Both A and B cannot be inherited
  • Both A and B can be inherited

5. Which class has only one unique value for all the objects of class

  • this
  • friend
  • static
  • none of above
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment