/* * ScoreBoardDemo.java * * Created on April 10, 2002, 2:38 PM */ /** * * @author administrator * @version * Created on the fly in class */ public class ScoreBoardDemo extends Object { /** Creates new ScoreBoardDemo */ public ScoreBoardDemo() { } /** * @param args the command line arguments */ public static void main (String args[]) { Scoreboard2 mySB = new Scoreboard2(); System.out.println("Who is the home team?"); String home = SavitchIn.readLine(); System.out.println("Who is the away team?"); String away = SavitchIn.readLine(); mySB.beginGame(home,away); System.out.println("Home: " + mySB.getHomeTeamName()); } }