hello all,I am new in java...plz tell below program behaviour? : can anybody tell?why it do not give compile time error saying..
Incompatible type cannot convert int to string.
   

     public class Test1 {
        	
        	public static void main(String[] args)
        	{
                       String[]  a= new String[3];
        a[0]="10";
        a[1]="20";
        a[2]="30";
                        for(String x:a)
                               {
                                   System.out.println(x);
        
                                   }
        		
        		
                                	
        	}
               
        
        }


