import java.lang.reflect.Array; public class MainClass { public static void main (String args[]) { int array[] = (int[])Array.newInstance(int.class, 5); for(int i: array){ System.out.println(i); } } }
0 0 0 0 0