Created
December 9, 2022 12:41
-
-
Save Mishco/41311a70b7e46ca28552a5d98d96f05d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class WeatherTracker { | |
| public String currentConditions; | |
| public void setCurrentConditions(String weatherDescription) { | |
| this.currentConditions = weatherDescription; | |
| } | |
| public void notify(Notifier notifier) { | |
| notifier.alertWeatherConditions(currentConditions); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment