Synchronized詳解

1、先看一個簡單的多線程例子 public class Test { static int count=0; public static void main(String[] args) throws InterruptedException { for(int i=0;i<100;i++){ new Thread(){
相關文章
相關標籤/搜索