Keeping annual rainfall records. The class RainLog contains an instance variable data that is an array holding rainfall records of the past years. Required to write a constructor to instantiate and populate this array and methods that use this array to extract more useful information. Required to complete the constructor and five other methods. The constructor is passed a double array and should instantiate the instance variable array data to be the same length as the passed array, and then copy each item from the passed array into array data. You are allowed to add other helper methods in the class if you want. You are also expected to complete Client.java by instantiating a RainLog object and invoking the five methods (besides the constructor) implemented. You should display the outcome of each of these five method invocations on the console