anonymous / helloworld1000.java
Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Uses Java to print Hello World 1000 times

View helloworld1000.java
1 2 3 4 5 6 7 8 9 10 11 12
public class helloworld1000 {
public static void main(String[] args) {
int i = 0;
while(i < 1000)
{
System.out.printf("Hello, World!\n");
++i;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.