What is lazy instantiation in java?



What is lazy instantiation in java?..

Answer / Hemendra Kumar

Lazy Instantiation in Java refers to the delayed creation of an object until it is actually needed. This can be achieved using various techniques such as singleton pattern, double-checked locking, or using a factory method.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JavaScript Interview Questions

What are 2 (shorthand) boolean operators supported by javascript

1 Answers  


How to get value from radiobuttonlist control?

1 Answers  


How to write a hello world example of javascript?

1 Answers  


what are the differences between as2 and as3?

1 Answers  


What is js full form?

1 Answers  


What is javascript? List some data types supported by javascript?

1 Answers  


Is there an alternative to javascript?

1 Answers  


Explain the difference between call() and apply()?

1 Answers  


How to add multiple functions in javascript?

1 Answers  


What does the attribute defer/async do when added to the script tag?

1 Answers  


what is eval pls breif information send me

1 Answers  


Can you assign an anonymous function to a variable?

1 Answers  


Categories