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 is aop(assepct oriented programing)?
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
Explain what is orm?
Is the ternary operator written x : y ? Z or x ? Y : z ?
Name the class that is used to bind the server object with RMI Registry?
What is the difference between the session.update() method and the session.lock() method?
Whats new with the stop(), suspend() and resume() methods in jdk 1.2?
Which javutil classes and interfaces support event handling?
Where we can write Rmi registry in the code, without having to write it at the command prompt?
Do you think that java should have had pointers?
What classes of exceptions may be caught by a catch clause?
How are commas used in the intialization and iteration parts of a for statement?
How messaging services are done, before release of JMS?
Can we sent objects using Sockets?
What is a tasks priority and how is it used in scheduling?