public
anonymous / helloworld1000.java
Created

Uses Java to print Hello World 1000 times

  • Download Gist
helloworld1000.java
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;
}
}
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.