How can i create only one instance of class and thus doesn't
allow creating any more instances?
Answer Posted / prayag thakkar
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 ? | 5 Yes | 0 No |
Post New Answer View All Answers
Explain hard disk? : Dot net architecture
How cache is used? : Dot net architecture
What are the important principles of soa (service oriented architecture)?
Explain .net mobile automatic paging? : Microsoft dot net mobile
Explain 'managed' mean in the .NET context
Define domestic architecture artifacts? : Dot net architecture
What is the purpose of hard disk? : Dot net architecture
What are the types of application software?
What re interop services?
Explain pipelining? : Dot net architecture
When do I need to use gc.keepalive?
8. Oop-Why and were we use Interfacse and Abstract class.
What is the difference between .net mobile pages and ordinary .net web page? : Microsoft dot net mobile
Define cache coherency? : Dot net architecture
Explain How to improve the cache performance? : Dot net architecture