Input and output

it can be in guy but I need it ti be injavafx please.it should contain 4 clasesThe “Team” class:Each object of this class represents one team and records their name andwin-lossrecord. A method should be provided that can calculate their winning percentage. Thewinning percentage should display as 0.000 when the team has played zero games. The team’sname usually doesn’t need to change, buta set of methodsshould beprovided to update theteam’s record.2.The “Game” class: Each object of this class represents a single game. The class object shouldrecord the teams that participated and the final score. When the score is assigned, a winnershould be determined, and the record of each participant should be updated appropriately.Thisimplies that the Game object needs to have access to the Team objects representing theparticipants, not just their names.3.The “League” class:The leagueobject (notice that it’s singular)contains the lists of teams, and alist of all games. The list of teams will not change once the league is configured so a simplearray should suffice. However, the list of games will grow and change frequentlyso an ArrayListwould be a better choice here.Most of the functionality of the program listed above will have acorresponding method here
The “App” class: This is the class containing the main method. All user input and output must bedone through this class.