This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | Next revision Both sides next revision | ||
|
java:loop_statements [2015/09/18 10:51] gthanos [For statement] |
java:loop_statements [2015/09/18 10:52] gthanos [For statement] |
||
|---|---|---|---|
| Line 36: | Line 36: | ||
| public static void main(String[] args){ | public static void main(String[] args){ | ||
| int[] numbers = {1, | int[] numbers = {1, | ||
| - | for (int i; i< | + | for (int i=0; i< |
| System.out.println(" | System.out.println(" | ||
| } | } | ||