Skip to content

Instantly share code, notes, and snippets.

@dante-byte
Created April 13, 2016 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dante-byte/e590a899d2e53a9e39286efa5d38c8f0 to your computer and use it in GitHub Desktop.
Save dante-byte/e590a899d2e53a9e39286efa5d38c8f0 to your computer and use it in GitHub Desktop.
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");
}
package com.tiy.sports;
public class LeagueRunner {
public static void main(String[] args) {
System.out.println("Welcome to the NBA");
}
}
package com.tiy.sports;
public class Player {
public String height;
public String weight;
public String vertical;
public Double speed;
public String team;
}
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