first commit

This commit is contained in:
2026-01-29 14:05:10 +05:30
commit 00b45c11a4
14 changed files with 137 additions and 0 deletions

19
RunnableTest.java Normal file
View File

@@ -0,0 +1,19 @@
class x implements Runnable{
public void run(){
for(int i=0;i<=5;i++){
System.out.println("The Thread x is: " + i);
}
System.out.println("End of the Thread x");
}
}
class RunnableTest{
public static void main(String args[]){
x r = new x();
Thread threadx = new Thread(r);
threadx.start();
System.out.println("The End of the main thread");
}
}