Program: Write a CLASS and a CLIENT CLASS that stores hotels ratings over the years. The number of stars represents hotel ratings. Use a two dimensional integer array to represent the years and hotels. The columns can represent the years and the rows the hotels. Each element of the 2-dimensional array stores an integer value between 1 - 5, which represents the number of "stars" this hotel has.
You can initialize the 2-dim array at the beginning of your program.
In addition, declare a one dimensional String array that stores the names of the hotels and each location corresponds to the hotel in each row of the 2-dim array.
Define another String array containing the years.
Prepare CLASS and a CLIENT CLASS and add comments in code section that will be useful in the future.