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
what are the advantages of JTA over JTS?
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.
What is the purpose of the wait() method?
when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??
Why are some of the class and element names counter-intuitive?
What are the types of scaling?
What value does read() return when it has reached the end of a file?
Difference between DurableSubscription and non- DurableSubscription?
What is abstract schema?
How can I avoid validating a form before data is entered?
In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?
To what value is a variable of the string type automatically initialized?
What’s jboss jbpm?
For which statements does it make sense to use a label?
how do you Handle Front End Application data against DB with example?