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 6 of 11.
Diksha said:
1 decade ago
What us the proper meaning of instances and instantiated?
Ranjeet said:
1 decade ago
If the constructor is private how we can create instance of class?
Sush said:
1 decade ago
Please explain in detail, what is singleton class?
Abc said:
1 decade ago
The names of variables, function, labels and various other user-defined objects are called what?
BinaryWorld-PowerofEverything said:
1 decade ago
Everyone just wants to understand that if the Singleton class is a concept like 'virtual class' - for e.g. then how you will implement that singleton class?
- Any keyword is used?
- Any methods declaration inside that class will tell us that it is a singleton one? (e.g. Static methods).
- When the object of that class is created, will the compiler warn us not to do so?
- And some other questions.
- Any keyword is used?
- Any methods declaration inside that class will tell us that it is a singleton one? (e.g. Static methods).
- When the object of that class is created, will the compiler warn us not to do so?
- And some other questions.
Kirya said:
1 decade ago
When is to call for the singleton class in the coding of C++ program?
Saedlovely said:
1 decade ago
Yeah singleton class is the one only to be created an object.
Awadh said:
1 decade ago
Please elaborate the functioning and use of this class, not getting properly.
Thanks.
Thanks.
Ganesh Vahinde said:
1 decade ago
The singleton class is such class which has only single instance, so that it's know as singleton class.
Siva said:
1 decade ago
I can't understand your definition. Can you easy to say?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers