/* This is a basic example of a for loop It prints out the numbers from 0 to 5 * */ public class Count { public static void main(String[] args) { for(int i = 0; i < 6; i++) { System.out.println(i); break; } } }