JUC并发编程 第二章 共享模型之管程 1,149 | 0 | juc | xiaofeng 4327 字 | 18 分钟 大纲 实际测试 使用synchronized关键字解决问题: @Slf4j public class Test16 { static int count = 0; static Object lock = new Object(); public static void main(String[] args) throws Interrup… java基础juc