Jainil GadaVolatile Keyword— JavaVolatile — If field is declared as volatile in Java, every thread accessing the field will read the current value, i.e value from the main…2 min read·Feb 3, 2021----
Jainil GadaThread Safe Singleton patternHello, Most of you reading this might have created or used Singleton pattern, what’s new in it right ?3 min read·Feb 1, 2021----