Implemented Solution for 1st exercise

main
Oliver Stolle 3024383 2026-10-28 12:03:58 +00:00
parent eaf6ce4784
commit 631fca9c57
2 changed files with 3 additions and 0 deletions

View File

@ -37,5 +37,6 @@ public class Sensor extends Thread {
public static void main(String... args) {
var s = new Sensor(1000);
s.start();
}
}

View File

@ -18,6 +18,8 @@ public class Thermometer extends Sensor {
public static void main(String... args) {
var s1 = new Thermometer(1000);
s1.start();
var s2 = new Thermometer(3000);
s2.start();
}
}