public class TeamApp {
  public static void main(String argv[]) {
    Team ottawa = new Team("Ottawa", 2, 1);
    Team toronto = new Team("Toronto", 1, 2);
    if(ottawa.equals(toronto)) {
     System.out.println("objects are equal");
    } else {
     System.out.println("objects are not equal");
    }
  }
}