Java Reference
In-Depth Information
To retrieve the box score information I'll create a class called
GetGameData
. This class
will have attributes for the base URL and the team abbreviations, as shown. The next list-
ing shows a portion of this class.
Listing 2.5. A portion of
GetGameData
, showing the attributes and initialization