Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need to make 3 classes called. 1. GrandFinal class : the GrandFinal class repr

ID: 3536948 • Letter: I

Question

I need to make 3 classes called.


1. GrandFinal class: the GrandFinal class represents an individual grand final for a particular year

of the NRL competition. The GrandFinal class needs to store data for the year of the grand final,

the winning team, the losing team, the winning score, the losing score and the crowd attendance.

As well as the normal methods that should be created for a class (eg, constructors, %u2018setters%u2019, and

%u2018getters%u2019) you will need to decide upon appropriate methods for this class based upon the

general requirements of the assignment specification.

2. Season class: the Season class represents an individual year in which the competition was held.

The Season class needs to store data for the year of the season, the winning team name (the

premiers), the Minor Premiers team name, the wooden spoon team name. As well as the normal

methods that should be created for a class (eg, constructors, %u2018setters%u2019, and %u2018getters%u2019) you will

need to decide upon appropriate methods for this class based upon the general requirements of

the assignment specification.

3. Club class: the Club class represents an individual NRL club within the competition. The Club

class needs to store data for the current club name, current club mascot, any aliases by which

the club is or has been known. As well as the normal methods that should be created for a class

(eg, constructors, %u2018setters%u2019, and %u2018getters%u2019) you will need to decide upon appropriate methods for

this class based upon the general requirements of the assignment specification.


All information is in the files below, the program will should read off it and manipulate it.:


http://speedy.sh/rNsFz/NRLdata.txt

http://speedy.sh/BnTqx/NRLclubs.txt


The format of the text files is as follows:where each data item is separated by a comma (,).


NRLdata.txt : year, premiers, runners-up, minor premiers, wooden spooners, Grand Final held, winning score,

losing score, crowd


NRLclubs.txt: club name, club mascot, club alias




The main program requirements are as follows:

Write an object-oriented menu-driven Java program that has the following menu items:


1. Load NRL data files

2. Search

3. Create File

4. Exit Program

Within the Java program implement the required functionality for each of these menu items as described

below:

1. Load NRL data files - when this menu option is selected by the user the program should read

the content of the two data files (NRLdata.txt and NRLclubs.txt) into memory into appropriate

arrays of objects . Do not assume that the files

exist. After successfully reading data from the files the program should return to the main

program menu.


2. Search - when this menu option is selected the following sub-menu should be displayed:

a. Grand Final Search

b. Team Search

c. Exit Sub-menu


Implement Java code for these sub-menu items as follows:

a. Grand Final Search %u2013 when this menu item is selected the program should obtain

from the user the year of the grand final that they wish to search for. The program should

then generate a report on the screen showing information for the grand final of that year

which includes: which teams played in the grand final, their mascots, the score and the

crowd attendance.


b. Team Search %u2013 when this menu item is selected the program should obtain from the

user the name of a team that they wish to search for. The program should then find and

list all years in which the team a) won the premiership, b) were runner%u2019s up in the

premiership,

c) were minor premiers, d) were wooden spooners. For each year that the

team won the premiership the program should also display the grand final information as

well. This information needs to be displayed to the screen in a format that is easy to read

and understand. That is, the output should not just be a list of years but organised in

such a way that it is clear to the user what the data represents.




c. Exit sub-menu %u2013 when this menu item is selected program control should return to

the main menu.


3. Create File %u2013 when this menu item is selected the program should generate a text file that

represents data for a range of years of the NRL seasons. To generate this file obtain from the

user a starting year, an ending year, and a file name; then create a text file using the name

supplied by the user and write the following data to the file: year, premier club name, minor

premier club name, wooden spoon club name; for each year within the range of years supplied

by the user. Each line of the file so created should represent one year and each data item within

each line should be appropriately delimited from the other data items. After successfully writing

to the file the program should return to the main program menu.


4. Exit Program %u2013 the program should terminate when this menu item is selected.

Will be incredibly grateful is somebody can help me figure this one out. Alot of points too :)

Explanation / Answer

if you rate my answer first with a 5 star then I shall provide the answer you want