Java multi-threading: volatile variables and their usage | Heykuki News