mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 13:05:53 +08:00
Init Commit - Basic Func
This commit is contained in:
commit
ec4492322f
25 files changed
+10464
No files matched your search
Binary file not shown.
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user