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