open-nomad/client/driver/test-resources/java/demoapp.java

13 lines
269 B
Java
Raw Normal View History

public class Hello {
public static void main(String[] args) {
while (true) {
System.out.println("Hi");
try {
Thread.sleep(1000); //1000 milliseconds is one second.
} catch(InterruptedException ex) {
Thread.currentThread().interrupt();
}
}
}
2016-10-10 18:46:27 +00:00
}