兩個線程交替打印AB10次

public class PrintAB { public static int DEFUALT_TIMES = 10; public static void main(String[] args) { GuardObject lock = new GuardObject(); new Thread(() -> { in
相關文章
相關標籤/搜索