有三个数组int[] arr1={1,1,1,1,1};int[] arr2={2,2,2,2,2};int[] arr3={3,3,3,3,3};怎么用三个线程求他们的和?即得到的答案应该是30.
你是说用 CountDownLatch 吗?