Created
April 13, 2016 14:14
-
-
Save dante-byte/e590a899d2e53a9e39286efa5d38c8f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tiy.sports; | |
public class League { | |
public Player[] nbaPlayers = new Player[4]; | |
public Referee[] nbaRefs = new Referee[6]; | |
//nbaPlayers[0] = new Players ("Michale Jordan"); | |
//nbaPlayers[1] = new Players ("Allen Iverson"); | |
//nbaPlayers[2] = new Players ("Kobe Bryant"); | |
//nbaPlayers[3] = new Players ("Lebron James"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tiy.sports; | |
public class LeagueRunner { | |
public static void main(String[] args) { | |
System.out.println("Welcome to the NBA"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tiy.sports; | |
public class Player { | |
public String height; | |
public String weight; | |
public String vertical; | |
public Double speed; | |
public String team; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tiy.sports; | |
public class Referee { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment