what is private constructor?what are the uses of writing
private constructor in our program?
Answer Posted / neha
In Private Construtor is that
1. We used The Private acess Modifier
2. In Private Construtor We can Not Create the instance Of
this Class in Outside Class
3. We can used only Static Data Member In Private Construtor
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Why pointers are not used in java?
What is data type example?
What is singleton class in ruby?
What is difference between java and java ee?
What is final variable?
Is minecraft java edition free?
Is java developer a good career?
How do you override a method?
what is mena by object block any what is the use of that
What are basic keywords?
What happens if we don’t override run method ?
Which method cannot be overridden in java?
What is anagram in java?
How a string is stored in memory?
What is type conversion in java?