question archive Java class called WeatherData that will store information about daily weather conditions for NASA

Java class called WeatherData that will store information about daily weather conditions for NASA

Subject:Computer SciencePrice: Bought3

Java class called WeatherData that will store information about daily weather conditions for NASA. Able to store the current daily temperature as well as wind speed. WeatherData class contains the following methods:

Default constructor: WeatherData()
Overloaded constructor: WeatherData(float dailyTemp, int windSpeed)
Mutators / set methods: void setDailyTemp(float newTemp), void setWindSpeed(int newWindSpeed)
Accessors / get methods: float getDailyTemp(), int getWindSpeed()
String method that returns a description of all class data as a string: String toString()
Equals method that can compare WeatherData objects: boolean equals(Object obj)

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE