Question: JAVA - Simpke exercises. Im new, so Im a bit confused. PLEASE READ the instructions at the top and bottom of the photo before you
Write the definition of a class WeatherForecast that provides the following behavior A method called setSkies that has one parameter, a String A method called setHigh that has one parameter, an int . A method called setLow that has one parameter, an int .A method called getSkies that has no parameters and that returns the value .A method called getHigh that has no parameters and that returns the value .A method called getLow that has no parameters and that returns the value that was last used as an argument in setSkies that was last used as an argument in setHigh that was last used as an argument in setLow No constructor need be defined. Be sure to define instance variables as needed by your "get"/"set" methods-initialize all numeric variables to 0 and any String variables to the empty string
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
