What is lazy initialization?



What is lazy initialization?..

Answer / Sajal Shukla

Lazy initialization is a technique where an object's state is not initialized until it is actually needed. This can improve the performance of an application by reducing the number of objects created at startup, but may introduce issues related to thread safety if not implemented correctly.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

What is a metadata in .net?

1 Answers  


Can we Classic ASP,.Net 1.0, .Net 1.x and .Net 2.0 installed on the same system?

2 Answers   Value Labs,


How ASP .NET different from ASP?

4 Answers  


How do you handle Start, Pause, Continue and Stop calls from SCM within your application?

1 Answers  


How can I find out what the garbage collector is doing?

1 Answers  


The project which you have made, which methodology did you use?

1 Answers   Wipro,


Explain how to produce an assembly?

1 Answers  


Tell us what is the difference between struct and class?

1 Answers  


Explain memory-mapped files.

1 Answers  


How will you register com+ services?

1 Answers  


What is the Difference between directcast and ctype?

3 Answers   Wipro,


What exactly is being serialized when you perform serialization in .net?

1 Answers  


Categories