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?
Discussion:
104 comments Page 7 of 11.
Keshworjit meitei said:
1 decade ago
Could you explain me about the singleton?
Nitin H said:
1 decade ago
How we know the class is singleton class?
Madhavi Y.S. said:
1 decade ago
What I mean by singleton class?
T.srinivas said:
1 decade ago
Above example in that one getInstance word used what is mean by GetInstance and A*GetInstance how it come nd wts mean by A*GetInstance please anybody Explain clearly?
Lakshmi.T.R said:
1 decade ago
Is there any other special features of singleton classes?
Ramya said:
1 decade ago
I expect that friend, virtual class doesn't access more than one object.
Rohit said:
1 decade ago
What is use of this mainly in c++?
Shaju said:
1 decade ago
Making constructor as private it will not allow any other function even main to create an object. Only inside class, object can be created.
Shaju said:
1 decade ago
Singleton means only one instance or object at a time can be created.
Why using (for eg: only one person can open a mailbox from a system using a web browser from a system).
Why using (for eg: only one person can open a mailbox from a system using a web browser from a system).
Ananadan b said:
1 decade ago
How to make singleton class?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers