public class array {int []a=new int[11]; void zahlen() { for(int i=0;i<=10;i++) {a[i]=i; System.out.println(a[i]); } } }