forschleife abfüllen von arrays und ausgabe
Copy this code and paste it in your HTML
public class HelloWorld {
public static void main
(String...
args) { int[] a = new int[6];
int zaehler = 0;
for (int i = 0; i < a.length; i++ ) {
a[i] = ++zaehler;
}
for (int i = 0; i < a.length; i++) {
int c = a[i];
}
}
}
Report this snippet
Comments
Subscribe to comments