ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Software Design  >>  Design Patterns
 
 


 

 
 Design Patterns interview questions  Design Patterns Interview Questions
 UML interview questions  UML Interview Questions
 OOAD interview questions  OOAD Interview Questions
 Software Design Tools interview questions  Software Design Tools Interview Questions
 Requirements Management interview questions  Requirements Management Interview Questions
 Project Planning interview questions  Project Planning Interview Questions
 Project Management interview questions  Project Management Interview Questions
 Software Design AllOther interview questions  Software Design AllOther Interview Questions
Question
How can we design/implement singleton object?
 Question Submitted By :: Leossk
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How can we design/implement singleton object?
Answer
# 1
Make the constructor private

provide a static synchronized method to get the Instance.

this should make the object singleton for that jvm instance
 
Is This Answer Correct ?    0 Yes 0 No
Ravi
 

 
 
 
Other Design Patterns Interview Questions
 
  Question Asked @ Answers
 
Design the Factory pattern and What is its application ? HP1
what is a Design Pattern?  3
What are the advantages of thin clients?  1
When to Use a Factory Pattern?  1
Why is it important to use systems analysis and design methodologies when building a system? Why not just build the system in whatever way appears to be “quick and easy”? What value is provided by using an “engineering” approach?  1
What is grouping in CSS?  1
Explain the singleton, facade, or handle class design pattern? ABC1
What are actually Model,view,Controller in MVC Pattern? Honeywell1
What is ESD?  1
How to add CSS styles Styles to Elements with Particular Attributes?  1
what is design patterns? which design patterns mostly used in .net? How it is used with examples? Satyam1
What are the advantages of asynchronous architectures?  1
when performing a functional test on a phone calculator,if pressing on a button does not function what do i do next IBM2
How do you ensure quality of code ? Infosys2
If there is a Model class,View class,Controller class then How these are internally related? Which layer objects instantiated in which layer? How they communicates? Honeywell3
Explain Inline Style Sheet?  1
What are cascaded style sheets?  1
What are External Style Sheets?  1
What is Software development life cycle....?? TCS3
What are 5 common problems in the software development process? HP1
 
For more Design Patterns Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com