What is singleton class?
Answer Posted / sathya
This is a class which can be instatiated only once.
Public class Singleton
private static single = new Singleton();
For a singleton class, the constructor is made private and
a static variable is used for instatiating the class.
|Is This Answer Correct ?||240 Yes||44 No|
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?
how to handle exceptions in ejb?
How to solve the problem of generating the unique hash keys with hash function?
Hi Anyone know the model / questions of the Federal bank sample questions for the post of Specialist Officers - Programmers. Please post if anyone have..
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
when to use ArrayList and when to use HashMap in webApplication.
what are the disadvantages of indexes in oracle?
v-model life cycle
I want to store more than 10 objects in a remote server? Which methodology will follow?
What is procedure overloading?
What is the java project architecture?
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an
how to deploy apache tomcat server to weblogic server in java
How to display names of all components in a Container?
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 email@example.com once u appear for interview