摘要: 我们实现一个例子。 我们有一个count变量。建立10个线程,每个线程都对count加1000次。(count++) public class cas { static int count=0; public static void main(String[] args) throws Interr 阅读全文
posted @ 2021-02-24 23:10 枫叶像思念 阅读(130) 评论(0) 推荐(0) 编辑