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  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  Dot Net  >>  Dot Net AllOther
 
 


 

 
 Dot Net Framework interview questions  Dot Net Framework Interview Questions
 Dot Net Remoting interview questions  Dot Net Remoting Interview Questions
 Dot Net WindowsForms interview questions  Dot Net WindowsForms Interview Questions
 Dot Net General interview questions  Dot Net General Interview Questions
 Dot Net AllOther interview questions  Dot Net AllOther Interview Questions
Question
How can i create only one instance of class and thus doesn't
allow creating any more instances? 
 Question Submitted By :: Raghumadhav Tirunagari
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How can i create only one instance of class and thus doesn't allow creating any more instances?
Answer
# 1
If a system only needs one instance of a class, and that 
instance needs to be accessible in many different parts of 
a system, you control both instantiation and access by 
making that class a singleton.
 
Is This Answer Correct ?    1 Yes 0 No
Prayag Thakkar
 

 
 
 
Other Dot Net AllOther Interview Questions
 
  Question Asked @ Answers
 
How to work with Crystal Reports without using Visual Studio?  1
What is this DLL hell problem in dotnet? Can a virtual class be created/can a virtual method be created inside the class? HCL2
How can a win service developed in .NET be installed or used in Win98?  1
what is session management ? Ness-Technologies3
Explain the differences between Server-side and Client-side code?  1
i want to know that now a days which software course has demand and more opportunities please give me reply to my mail id APC3
How many types of languages does .net support? name at least 10-15? Six-Sigma7
What is the difference between a web custom control,web user control and a web part. 247Customer1
which would be the best to use inproc,outproc or sql server Ness-Technologies1
what are constructors and destructors Six-Sigma1
what is the shortcutkey for solution explorer and add new item? Six-Sigma1
Explain in-proc,out-proc and sql server. Ness-Technologies3
When should you use Abstract Class vs Interface while programming? Give 1 Example T3-Softwares2
3. Should validation (did the user enter a real date) occur server-side or client-side? Why?  3
What is ITIL? What is the use of ITIL and how it works? IBM1
what is a tool tip Six-Sigma2
what to choose among testing, .net , and java for a B-Tech (ECE) fresher.  1
1. How to restrict a class from allowing to create only one object. I.e., one should be allowed to create only one object of the class type. 247Customer1
If I'm developing an application that must accomodate multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?  2
Which tool you will use to deploy a windows service Fulcrum-Logic1
 
For more Dot Net AllOther Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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