Feat: Add example loop

This commit is contained in:
xiaozhou233 committed 2026-06-13 11:40:00 +08:00
1 parent f49ac4dff7
commit 9ed7df8476
2 files changed
+14 -1

No files matched your search

+12
View File
@@ -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();
}
}
}