can someone help me with this
Write your own class called WeatherStats to manage the ordered collection of high temperatures.
Have two constructors, one for a default maximum size collection of 10, and the second for a user argument defined maximum size collection.
The user class will not do any prompting to the user or reading of data, instead create the following methods:
• boolean addNextTemp (double temp) - add the temp to the next available position in the collection, if room allows.
• getMaxDifference() - returns the maximum change in temperature (in absolute value) on two consecutive days.
• getMaxDiffDay() - returns the day number for the second day of the two consecutive days that the maximum change in temperature (in absolute value) occurred