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,8 @@
package exercises.ex_a;
public class HelloRunnable implements Runnable {
@Override
public void run() {
System.out.println("Hello from a class implementing the Runnable interface");
}
}

View File

@@ -0,0 +1,8 @@
package exercises.ex_a;
public class HelloThread extends Thread {
@Override
public void run() {
System.out.println("Hello from a class extending the Thread class");
}
}

View File

@@ -0,0 +1,8 @@
package exercises.ex_a;
public class TestingSimpleThreads {
public static void main(String[] args) {
new HelloThread().start();
new Thread(new HelloRunnable()).start();
}
}