what is singleton class? where it mainly used in the
projects?

Answer Posted / rani

An Java API using Singleton is

java.util.Date

Is This Answer Correct ?    8 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is synchronization?

587


What is colon_pkg_prefixes and what is its use?

2011


how i secure my site with the https protocol.what are the steps?

1748


Can I run seam outside of jboss as?

646


What is ioc concept & explain it?

632






What if the static modifier is removed from the signature of the main method?

717


How is a java object message delivered to a non-java client?

583


How task's priority is used in scheduling?

1794


What is the difference between RMI and Corba?

2276


Can you control when passivation occurs?

608


What is the purpose of the finally clause of a try-catch-finally statement?

571


Explain the advantages and disadvantages of detached objects.

583


Write a singleton program?

582


Which class is the immediate superclass of the menucomponent class?

644


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

1827