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…Feb 3, 2021Feb 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 ?Feb 1, 2021Feb 1, 2021