Skip to content

Instantly share code, notes, and snippets.

@heckenmann
Created February 24, 2015 18:37
Show Gist options
  • Save heckenmann/09d55e1938ad238f32d3 to your computer and use it in GitHub Desktop.
Save heckenmann/09d55e1938ad238f32d3 to your computer and use it in GitHub Desktop.
for-Schleife
public class ForSchleife {
public static void main(String... args) {
for(int start = 0, ende = 15; start <= ende; start++){
System.out.println(start);
}
int ende = 15;
for(int start = 0; start <= ende; start++){
System.out.println(start);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment