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 static in oop?
What is the highest level of cohesion?
Why do we use polymorphism?
What is object-oriented programming? Webopedia definition
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What is abstraction example?
What is class and example?
What are properties in oop?
What is overloading in oop?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
How do you define social class?
what is graphics
How to improve object oriented design skills?
What are different oops concepts?
Why do we use polymorphism in oops?