ContactUs :

Please send your Questions & Answers or Feedback to ""

What is double checked locking in Singleton?

Double checked locking is a technique to prevent creating another instance of Singleton when call to getInstance() method is made in multi-threading environment. In Double checked locking pattern as shown in below example, singleton instance is checked two times before initialization.

Related Posts Plugin for WordPress, Blogger...
Flag Counter