class Array_Example { public static void main (String[] args){ int a[]={4,6,3,7,9}; for(int i : a ){ System.out.print(i + " "); } } }