public class ArrayThree

{

	public static void main (String args[])

	  {
 
	    // create and initialise array
	    int [] array3={1,2,3,4,5,6};
	    // assign a value to array element 
	    for ( int i=0; i<array3.length; i++ )

		{
		    System.out.print (array3[i] + " ");
		}
	     // prints a line after the output and display comment 
	     System.out.println ("\n Display values");

 	   }// end main
}// end class