Can we have a private constructor ?
Answer Posted / manjunath
Used mainly to control the object creation...
Ex: the Number of user Login's we can restrict to 15 by
creating 15 objects...
| Is This Answer Correct ? | 9 Yes | 4 No |
Post New Answer View All Answers
What is data binding in oops?
What is abstract class in oop?
How do you use inheritance in unity?
What is a class and object?
How to use CMutex, CSemaphore in VC++ MFC
What is multilevel inheritance in oop?
What is the advantage of oop over procedural language?
Can a destructor be called directly?
What is abstract class in oops?
What is polymorphism what is it for and how is it used?
What is ambiguity in inheritance?
What language is oop?
What is encapsulation c#?
Can private class be inherited?
What is a null tree?