Code public class HorseRace { public static void main( String args[] ) { Horse[] horse = new Horse[4]; for (int i=0; i= raceLength) raceOver = true; } catch (InterruptedException e) { System.err.println(e); } } if (distance == raceLength) winner = name; } }