C++ Programming - OOPS Concepts - Discussion

Discussion Forum : OOPS Concepts - General Questions (Q.No. 1)
1.
Which of the following type of class allows only one object of it to be created?
Virtual class
Abstract class
Singleton class
Friend class
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
104 comments Page 5 of 11.

Ramya said:   1 decade ago
I expect that friend, virtual class doesn't access more than one object.

Akshata said:   7 years ago
Singleton class is a class created only one object (instance) at a time.

Greeshma said:   1 decade ago
Can you explane brifly like how to use a singleton class in a program?

Chandrababu said:   1 decade ago
What is the use of singleton class? please give me simple explanation.

Kirya said:   1 decade ago
When is to call for the singleton class in the coding of C++ program?

S.jayachitra said:   9 years ago
What is the different between the singleton class and virtual class?

Diku said:   3 years ago
Why is virtual class not accessed through any class? Please tell me.
(6)

Rupali said:   8 years ago
Singleton class is a class that can have only one object at a time.

V.sriram said:   1 decade ago
I can't understand concept of singleton class? let you to explain?

Ranjeet said:   1 decade ago
If the constructor is private how we can create instance of class?


Post your comments here:

Your comments will be displayed after verification.