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 Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
How long to learn object oriented programming?
write a program that takes input in digits and display the result in words from 1 to 1000
What are oops functions?
Why do while loop is used?
What is advantage of inheritance?
What is for loop and its syntax?
any one please tell me the purpose of operator overloading
Please send ford technologies placement paper 2 my mail id
2. Give the different notations for the class.\
What is object and example?
What are functions in oop?
How to hide the base class functionality in Inheritance?
What is debug class?what is trace class? What differences are between them? With examples.