What Is Volatile Variable In Java When To Use It Example

What Is Volatile Variable In Java When To Use It Example