renamed folders

This commit is contained in:
2024-12-10 14:46:16 +01:00
parent 6111228c02
commit 237c35c6f7
24 changed files with 24 additions and 24 deletions

View File

@@ -0,0 +1,14 @@
package exercises.ex_c;
public class TestingSleep {
public static void main(String[] args) throws InterruptedException {
Thread thread = new Thread(new SleepMessages());
thread.start();
System.out.println("Waiting 3 seconds");
Thread.sleep(3000);
System.out.println("Stopping thread");
thread.interrupt();
System.out.println("Stopped");
}
}