Init Commit - Basic Func

This commit is contained in:
xiaozhou233 committed 2025-09-16 14:45:42 +08:00
commit ec4492322f
25 files changed
+10464

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
public class loop {
public static void main(String[] args) {
try {
while (true) {
try{
Class clz = Class.forName("cn.xiaozhou233.Test");
//invoke printTest()
clz.getMethod("printTest").invoke(null);
} catch (ClassNotFoundException e) {
System.out.println("Class not found");
}
System.out.println("Hello World");
Thread.sleep(2000);
}
} catch (Exception e) {
throw new RuntimeException(e);
}
}
}