mirror of
https://github.com/eunomia-bpf/bpf-developer-tutorial.git
synced 2026-05-08 14:52:40 +08:00
Deploying to gh-pages from @ eunomia-bpf/bpf-developer-tutorial@6be4e577f6 🚀
This commit is contained in:
15
15-javagc/tests/HelloWorld.java
Normal file
15
15-javagc/tests/HelloWorld.java
Normal file
@@ -0,0 +1,15 @@
|
||||
public class HelloWorld {
|
||||
public static void main(String[] args) {
|
||||
// loop and sleep for 1 second
|
||||
while (true) {
|
||||
System.out.println("Hello World!");
|
||||
// create an object and let it go out of scope
|
||||
Object obj = new Object();
|
||||
try {
|
||||
Thread.sleep(1000);
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user