String[]arr={"張三","李四","王五","xxx"....}
;Stringrandom=arr[newRandom().nextInt(arr.size())];System.out.println("隨機名字為:"+random);
String[]arr={"張三","李四","王五","xxx"....}
;Stringrandom=arr[newRandom().nextInt(arr.size())];System.out.println("隨機名字為:"+random);