Given: You have a WeatherDay class that stores weather information for a single day. You

Question:

  1. Given:
  2. • You have a WeatherDay class that stores weather information for a single day.
  3. • You like to store WeatherDay objects for a whole year.
  4. • The primary task of your program is to create distinct sorted collections of WeatherDay objects (sorted by temperature, wind speed, and so on).

How should you store your WeatherDay objects—in an ArrayList or in a standard array? Provide a rationale for your answer.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: