How to prevent to create multiple objects of a java class?
Answer Posted / sadiq
Using Singleton Design pattern we can prevent class creating
multiple objects.
| Is This Answer Correct ? | 30 Yes | 3 No |
Post New Answer View All Answers
What is a function in programming?
What do you mean by platform independence of Java?
Can you declare a private method as static?
Why is singleton class used?
What is the symbol for average?
What are locale settings?
What is the difference between == and === javascript?
What is null object in java?
What two classes are used to read data only?
What is the method in java?
What is string syntax?
What does the string method compareto () do?
Java openings 3 - 5 years, Lnt Infotech. requirements - core java, J2ee, struts, hibernate Interview Date:- 19 March 2011 Time:- 9:00 AM to 12:00 Pm Interview Location - L & T Infotech, Manapakkam, Chennai Refererral PS NO:- 291649 (Please mention this when u fill the form only then u will be considered for interview) Documents Required:- Latest Resume, Photograph and last 3 payslips Mail me on vasan2211@gmail.com once u appear for interview
What does index mean in java?
What is Enum in Java?