/** * @author Haiping Xu * Created at the CIS Department, UMass Dartmouth */ import java.util.Random; // The class Vote1 implements the Runnnable interface public class Vote1 implements Runnable { private String response; public Vote1(String newResponse){ response = newResponse; } public void run(){ final int REPETITIONS = 5; Random random = new Random(); int delay = 0; for (int i=0; i