public class ArrayTwo

{

	public static void main (String args[])

 	{

	    String[] array2;  // declare array 
	    array2=new String[] {"Manager","Cashier","Sales Assistant"}; // create an array and initialise
	    for ( int i=0; i<array2.length; i++) // assign a value to array element

		{
		   System.out.print(array2[i] + " " );
		 }

	     //prints line after the output and display comment 
	     System.out.println ("\n Display Values");
         } //end main

} //end class

