what is singleton class? where it mainly used in the
projects?
Answer Posted / rameshkrishna
singleton means create the one and only object per class
that per jvm
---use to decrese globel variables
---to provide the encapsulation
| Is This Answer Correct ? | 13 Yes | 5 No |
Post New Answer View All Answers
how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.
Which container method is used to cause a container to be laid out and redisplayed?
Which class is the immediate superclass of the menucomponent class?
int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!
Why do I get a duplicate name error when loading a jar file?
Explain the steps in details to load the server object dynamically?
what is meant by JRMP?
Can I have an action without a form?
What is the difference between the session.get() method and the session.load() method?
What is bean? Where can it be used?
Why are some of the class and element names counter-intuitive?
How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!
A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions
Why is string immutable in java?
What do you mean by Socket Programming?