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 8 of 11.
JesusPriya said:
1 decade ago
What is singleton class?
Ans: A class which is having single object known as singleton class.
Ans: A class which is having single object known as singleton class.
Deepu George Jacob said:
1 decade ago
Singleton class mainly used to limit object creations. Singleton class return only single object for all the declarations.
Jayachandra Reddy said:
1 decade ago
Do we need to follow any other syntax for singleton classes?
Pankaj kumar said:
1 decade ago
Please explain real world example of singleton class ?
Pinki said:
1 decade ago
What is virtual, abstract, and friend class? Can you explain me?
Tanaji said:
1 decade ago
Hello can we give me details about singleton class?
Riddhi said:
1 decade ago
Can we say inline function & singleton class are same?
Udayabhaskar said:
1 decade ago
How Singleton class is useful in real time applications?
Subhadev said:
1 decade ago
Why use single tone class in a program? What is the benefit?
Sangeetha said:
1 decade ago
Object created to the only one class called singleton class.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers