Story 3 complete added all AC35 Teams into the program.

main
Fan-Wu Yang 9 years ago
parent 987dcdac01
commit 02cc98b0b6

@ -45,7 +45,7 @@
</list>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8 (1)" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
<component name="SvnConfiguration">

@ -5,9 +5,14 @@ public class App
{
public static void main( String[] args )
{
Boat boat1 = new Boat("New Zealand");
Boat boat2 = new Boat("America");
Boat[] boats = {boat1, boat2};
Boat boat1 = new Boat("ORACLE TEAM USA");
Boat boat2 = new Boat("Artemis Racing");
Boat boat3 = new Boat("Emirates Team New Zealand");
Boat boat4 = new Boat("Groupama Team France");
Boat boat5 = new Boat("Land Rover BAR");
Boat boat6 = new Boat("SoftBank Team Japan");
Boat[] all_boats = {boat1, boat2, boat3, boat4, boat5, boat6};
Boat[] boats = {all_boats[0], all_boats[1]};
Event start = new Event("Start", boats);
Event finish = new Event("Finish", boats);

Loading…
Cancel
Save