1. volatile的使用 java源代码 public class VolatileUsedClass { private static int sharedVar = 10; public static void main(String