📅  最后修改于: 2022-03-11 14:52:25.033000             🧑  作者: Mango
For Java, “volatile” tells the compiler that the value of
a variable must never be cached as its value may change
outside of the scope of the program itself.