摘要:
这是第三种创建线程的方式 demo class MyThread implements Callable<Integer>{ @Override public Integer call() throws Exception { System.out.println(" welcome to call 阅读全文
摘要:
Arrays的拷贝CopyOf(); 把一个就数组拷贝到一个新的数组中。 public class ArrayDemo { public static void main(String[] args) { int[] arr1 = {1, 2, 3, 4, 5}; int[] arr2 = Arra 阅读全文