Declaring An Array
      An array is a contiguous block of memeory. In this program an array is delcared of a primitive type.
/*
	http://www.ProbCOMP.com	

	An array is a contiguous block of memeory. In this program an 
	array is delcared of a primitive type.

*/

public class DeclaringArray{
	
	public static void main(String args[])
	{
		// intialise at that decalration time or afterwards
		int[] array1,array2=new int[100];
		array1 = new int[100];
		
		String[] days={
						"monday",
						"tuesday",
						"wednesday",
						"thursday",
						"friday",
						"saturday",
						"sunday"
					  };
		
	}

}									

Download Program
Did You Know ?
IP address is a numerical label that is assigned to devices participating in a computer network. Read More