Lab Tutorial 7 Java Interface Sports String Name World Cup Public Void Sethometeam String Q37018240

Lab / Tutorial #7: Java Interface Sports String name World cup: public void setHomeTeam(String name): public void setVisitinLab / Tutorial #7: Java Interface Sports String name “World cup: public void setHomeTeam(String name): public void setVisiting Team/String namel Football tring name-“Footbalil public void homeTeamScored(int pointsl: public void visitingTeamScored(int points]: String name- “Hockey: public void points) public void visitingGoalScoredfint pointsp void private String Home Team private String VisitingTeam; private String Home Team; private String VisitingTeam All above classes Sports,Football and Hockey are interfaces Implement a java class called FootballTournament.java which implements Football and create 2 football teams “Barcelona” and

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.