多線程共享變量方法

1.public class MultiThreadShareData { private static ShareData1 data1=new ShareData1(); public static void main(String[] args) { ShareData1 data1 = new ShareData1(); new Thread(new MyRunnable1(data1
相關文章
相關標籤/搜索