feat(weather): interfaces

This commit is contained in:
Martin Eyben 2024-11-04 09:28:47 +01:00
parent 183423e1ef
commit 9bf42e49bc
3 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,5 @@
package eirb.pg203;
public class Temperature {
}

View File

@ -0,0 +1,5 @@
package eirb.pg203;
public interface WeatherDataAPI {
Temperature getTemperature(int day, String city);
}

View File

@ -0,0 +1,7 @@
package eirb.pg203;
public interface WeatherDisplay {
void display();
void addAPI(WeatherDataAPI w);
}