import java.util.ArrayList;
import java.util.Collections;public class exhaust {
static ArrayListList;public exhaust(ArrayList list) { super(); List = list;}public ArrayList deal(){ if(List == null){ List = new ArrayList (); for(int i=1;i<500;i++){ List.add(i); }} Collections.shuffle(List); return List;
}
public void display(){ String [] player = {"张三","李四","王五"}; for(int i=0;i<3;i++){ System.out.print(player[i]+"抽取的号码为:"); for(int j=i;j
}