Skip to content

Instantly share code, notes, and snippets.

Created November 11, 2012 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4055731 to your computer and use it in GitHub Desktop.
Save anonymous/4055731 to your computer and use it in GitHub Desktop.
Uses Java to print Hello World 1000 times
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