mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 13:05:53 +08:00
Feat: Add example loop
This commit is contained in:
1 parent
f49ac4dff7
commit
9ed7df8476
2 files changed
+14
-1
No files matched your search
@@ -0,0 +1,12 @@
|
||||
public class loop {
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
while(true) {
|
||||
System.out.println("Loop!");
|
||||
Thread.sleep(1000);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user