<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Java Programming Forum - Learn Java Programming - Blogs - Java Array</title>
		<link>http://www.java-forums.org/blogs/java-array/</link>
		<description>Java Programming Forum - Learning Java easily</description>
		<language>en</language>
		<lastBuildDate>Thu, 23 May 2013 20:44:59 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.java-forums.org/images/misc/rss.jpg</url>
			<title>Java Programming Forum - Learn Java Programming - Blogs - Java Array</title>
			<link>http://www.java-forums.org/blogs/java-array/</link>
		</image>
		<item>
			<title>Sorting Arrays</title>
			<link>http://www.java-forums.org/blogs/java-array/1011-sorting-arrays.html</link>
			<pubDate>Sun, 04 Mar 2012 09:26:42 GMT</pubDate>
			<description>To sort arrays, static methods are provided by the class java.util.Arrays. Kinds of arrays that are supported by it are as following: 
 
i.	Arrays of...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">To sort arrays, static methods are provided by the class java.util.Arrays. Kinds of arrays that are supported by it are as following:<br />
<br />
i.	Arrays of object types<br />
ii.	Arrays of primitive types<br />
<br />
It is possible to apply the sorting method to range of arrays or some particular part. It is also applicable to the whole array.<br />
<br />
For object type array comparators shall be provided so that to define it to such kind of sorting. Few Array methods are explained here along with their description:<br />
<br />
<ul><li style="">Arrays.sort(pa): Primitive type array’s elements are sorted to ascending order. This is usually done by the help of natural ordering.</li><li style="">Arrays.sort(pa, from, to): Object type array elements are sorted to an ascending order. This is done by that order usage which is defined usually by the help of comparable interface. Ultimately the method thecompareTo is defined by it. It shall be noted that number of Java classes like BigInteger, String or Double etc would be implementing Comparable.</li><li style="">Arrays.sort(oa, from, to): Array elements are sorted to an ascending order in range (from-to) of object type.</li><li style="">Arrays.sort(oa, comp): Object type array’s elements are sorted to an ascending order. This is done by the help of Comparator comp.</li><li style="">Arrays.sort(oa, from, to, comp): Array elements are sorted in ascending order, in range (from..to) of object type. This is also done by the help of Comparator comp.</li></ul></blockquote>

]]></content:encoded>
			<dc:creator>Java Array</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/java-array/1011-sorting-arrays.html</guid>
		</item>
		<item>
			<title>Multidimensional arrays</title>
			<link>http://www.java-forums.org/blogs/java-array/1010-multidimensional-arrays.html</link>
			<pubDate>Sun, 04 Mar 2012 09:24:58 GMT</pubDate>
			<description>Array of arrays also consists of multi dimensional arrays. Multi-dimensional variables could be declared by specifying the every extra index. This is...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">Array of arrays also consists of multi dimensional arrays. Multi-dimensional variables could be declared by specifying the every extra index. This is done by using square bracket set.<br />
<div class="bbcode_container">
	<div class="bbcode_description">Java Code: </div>

	<pre class="brush: java">For example: 
int myArray&#91; &#93;&#91; &#93; = new int&#91;5&#93;&#91;6&#93; ;</pre>
	<script type="text/javascript">mh_sh_highlight_all('java');</script>

</div>
 In case of a multi-dimensional array, memory is allocated by specifying memory for leftmost (1st) dimension.<br />
<br />
Rest of the dimensions can be allocated separately.<br />
<br />
In multi-dimensional array, every array’s length is in one’s control.<br />
<br />
Multi-dimensional array’s declarations will be better explained by the given example:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Java Code: </div>

	<pre class="brush: java">int myArray&#91;&#93;&#91;&#93; = new int&#91;4&#93;&#91;&#93;;
myArray &#91;0&#93; = new int&#91;5&#93;;
myArray &#91;1&#93; = new int&#91;6&#93;;
myArray &#91;2&#93; = new int&#91;7&#93;;
myArray &#91;3&#93; = new int&#91;8&#93;;</pre>
	<script type="text/javascript">mh_sh_highlight_all('java');</script>

</div>
 </blockquote>

]]></content:encoded>
			<dc:creator>Java Array</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/java-array/1010-multidimensional-arrays.html</guid>
		</item>
		<item>
			<title>Two-Dimensional Arrays</title>
			<link>http://www.java-forums.org/blogs/java-array/1009-two-dimensional-arrays.html</link>
			<pubDate>Sun, 04 Mar 2012 09:23:25 GMT</pubDate>
			<description>2 dimensional arrays are known to be the array of arrays. Number of array types is present, for example: 
 
 
1. Array of Strings 
2. Array of ints...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">2 dimensional arrays are known to be the array of arrays. Number of array types is present, for example:<br />
<br />
<ol class="decimal"><li style="">Array of Strings</li><li style="">Array of ints</li><li style="">Array of Objects</li></ol><br />
<br />
<br />
Array of int consists of type int[]. Two dimensional array will have int[][]. It might also be known as array of arrays of the ints. Such type of arrays are known as 2D arrays.<br />
<br />
Command:<br />
  int[][] array = new int[5][6];<br />
Array or variable of type int[][] gets declared. Variable is initialized so that to refer it for a new object created.<br />
Int [5][6], it has been indicated that five arrays of ints are present, in “array”. Six ints are present in every array present.<br />
2D arrays are processed by the nested loops. “Nested” loops are the loops which are present in any loop. Array’s processing is explained by the given code.<br />
<div class="bbcode_container">
	<div class="bbcode_description">Java Code: </div>

	<pre class="brush: java">int&#91;&#93;&#91;&#93; a2 = new int&#91;10&#93;&#91;5&#93;;
 // print array in rectangular form
 for (int i=0; i&lt;a2.length; i++) {
     for (int j=0; j&lt;a2&#91;i&#93;.length; j++) {
         System.out.print(&quot; &quot; + a2&#91;i&#93;&#91;j&#93;);
     }
     System.out.println(&quot;&quot;);
 }</pre>
	<script type="text/javascript">mh_sh_highlight_all('java');</script>

</div>
 </blockquote>

]]></content:encoded>
			<dc:creator>Java Array</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/java-array/1009-two-dimensional-arrays.html</guid>
		</item>
		<item>
			<title>arrays are passed by reference</title>
			<link>http://www.java-forums.org/blogs/java-array/1008-arrays-passed-reference.html</link>
			<pubDate>Sun, 04 Mar 2012 09:20:44 GMT</pubDate>
			<description>By reference, array is passed to functions. Or it is passed to original as a pointer. This shows that anything which happens to an array in a...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">By reference, array is passed to functions. Or it is passed to original as a pointer. This shows that anything which happens to an array in a function would be affecting the original.<br />
 <br />
For understanding an array is passed by reference<br />
<br />
Step 1) In editor, code shall be copied<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Java Code: </div>

	<pre class="brush: java">class ArrayDemo {
  
   public static void passByReference(String a&#91;&#93;);
     a&#91;1&#93; = &quot;Changed&quot;;
   }
  
   public static void main(String args&#91;&#93;){
      String &#91;&#93;b={&quot;Apple&quot;,&quot;Mango&quot;,&quot;Orange&quot;};
      System.out.println(&quot;Before Function Call    &quot;+b&#91;0&#93;);
      ArrayDemo.passByReference(b);
      System.out.println(&quot;After Function Call    &quot;+b&#91;0&#93;);
   }
}</pre>
	<script type="text/javascript">mh_sh_highlight_all('java');</script>

</div>
 Step 2) Save, Compile &amp; run the code. Observe output.</blockquote>

]]></content:encoded>
			<dc:creator>Java Array</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/java-array/1008-arrays-passed-reference.html</guid>
		</item>
		<item>
			<title>Array Store Exception</title>
			<link>http://www.java-forums.org/blogs/java-array/1007-array-store-exception.html</link>
			<pubDate>Sun, 04 Mar 2012 09:18:47 GMT</pubDate>
			<description><![CDATA[If array variable v consists of type A[] (where A is a reference type) then v might hold a reference to any array type B[] instance.( provided that B...]]></description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">If array variable v consists of type A[] (where A is a reference type) then v might hold a reference to any array type B[] instance.( provided that B could be assigned to A).<br />
<br />
Example: <br />
<div class="bbcode_container">
	<div class="bbcode_description">Java Code: </div>

	<pre class="brush: java">class Point { int x, y; }
class ColoredPoint extends Point { int color; }
class Test {
	public static void main(String&#91;&#93; args) {
		ColoredPoint&#91;&#93; cpa = new ColoredPoint&#91;10&#93;;
		Point&#91;&#93; pa = cpa;
		System.out.println(pa&#91;1&#93; == null);
		try {
			pa&#91;0&#93; = new Point();
		} catch (ArrayStoreException e) {
			System.out.println(e);
		}
	}
}</pre>
	<script type="text/javascript">mh_sh_highlight_all('java');</script>

</div>
 produces the output:<br />
true<br />
java.lang.ArrayStoreException<br />
<br />
Variable pa has type Point[].Variable cpa has its value a reference, to an object of type ColoredPoint[]. To a point, a ColoredPoint could be assigned; hence to pa, the value of cpa can be assigned.</blockquote>

]]></content:encoded>
			<dc:creator>Java Array</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/java-array/1007-array-store-exception.html</guid>
		</item>
		<item>
			<title>Class Objects for Arrays</title>
			<link>http://www.java-forums.org/blogs/java-array/1006-class-objects-arrays.html</link>
			<pubDate>Sun, 04 Mar 2012 09:17:12 GMT</pubDate>
			<description>An associated class object is present for every array that is shared to other arrays along with similar component type.An array’s direct superclass...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">An associated class object is present for every array that is shared to other arrays along with similar component type.An array’s direct superclass is Object. Interfaces java.io.Serializable and Cloneable are implemented by every array type.<br />
<br />
Following example code could better explain this: <br />
<div class="bbcode_container">
	<div class="bbcode_description">Java Code: </div>

	<pre class="brush: java">class Test {
	public static void main(String&#91;&#93; args) {
		int&#91;&#93; ia = new int&#91;3&#93;;
		System.out.println(ia.getClass());
		System.out.println(ia.getClass().getSuperclass());
	}
}</pre>
	<script type="text/javascript">mh_sh_highlight_all('java');</script>

</div>
 which prints:<br />
class [I<br />
class java.lang.Object<br />
here the string &quot;[I&quot; is the “run-time type” signature, for the class object that is &quot;array with component type int&quot;.</blockquote>

]]></content:encoded>
			<dc:creator>Java Array</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/java-array/1006-class-objects-arrays.html</guid>
		</item>
		<item>
			<title>Array Initializers</title>
			<link>http://www.java-forums.org/blogs/java-array/1005-array-initializers.html</link>
			<pubDate>Sun, 04 Mar 2012 09:14:46 GMT</pubDate>
			<description>In a declaration, an array initialize might be specified. It also might be specified as an array creation expression part, that gives certain initial...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">In a declaration, an array initialize might be specified. It also might be specified as an array creation expression part, that gives certain initial values and creates an array.<br />
<br />
ArrayInitializer:<br />
	{ VariableInitializersopt ,opt }<br />
<br />
VariableInitializers:<br />
	VariableInitializer<br />
	VariableInitializers , VariableInitializer<br />
<br />
To make it further clear:<br />
<br />
VariableInitializer:<br />
	Expression<br />
	ArrayInitializer<br />
<br />
For writing array initialize, list of expressions are separated by commas and enclosed by &quot;{&quot; and &quot;}&quot;. <br />
The constructed array length would be equal to the no. of expressions.<br />
<br />
An array initializer’s expressions get executed starting from left towards right, in textual order which occurs in source code. Value of n-1st array component is specified by the nth variable initializer.  With component type of an array, every expression shall be assignment compatible. In case component type is array type itself then array initializers might be nested. After array initializer’s last expression, a trailing comma might come which is ignored.<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Java Code: </div>

	<pre class="brush: java">For example: 
class Test {
	public static void main(String&#91;&#93; args) {
		int ia&#91;&#93;&#91;&#93; = { {1, 2}, null };
		for (int i = 0; i &lt; 2; i++)
			for (int j = 0; j &lt; 2; j++)
				System.out.println(ia&#91;i&#93;&#91;j&#93;);
	}
}</pre>
	<script type="text/javascript">mh_sh_highlight_all('java');</script>

</div>
 prints:<br />
1<br />
2</blockquote>

]]></content:encoded>
			<dc:creator>Java Array</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/java-array/1005-array-initializers.html</guid>
		</item>
		<item>
			<title>Array Variables</title>
			<link>http://www.java-forums.org/blogs/java-array/1004-array-variables.html</link>
			<pubDate>Sun, 04 Mar 2012 09:12:33 GMT</pubDate>
			<description>Reference to object is being held by the array type variable. Declaration of a variable of array type doesn’t allocate space for the array components...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">Reference to object is being held by the array type variable. Declaration of a variable of array type doesn’t allocate space for the array components or create the array object. But, declarator’s initializer part may make an array and a reference which will become variable’s initial value.<br />
<br />
Array length is not considered as a part of its type therefore an array type’s single variable might possess reference to other array of varying length.<br />
<br />
Given below are few examples regarding those declarations (of array variables) which don’t create array:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Java Code: </div>

	<pre class="brush: java">int&#91;&#93; ai;		// array of int
short&#91;&#93;&#91;&#93; as;		// array of array of short
Object&#91;&#93;    ao,		// array of Object
otherAo;	// array of Object
short	s,		// scalar short 
aas&#91;&#93;&#91;&#93;;	// array of array of short</pre>
	<script type="text/javascript">mh_sh_highlight_all('java');</script>

</div>
 Here you can see few examples of declarations (of array variables) which are involved in creating the array objects:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Java Code: </div>

	<pre class="brush: java">Exception ae&#91;&#93; = new Exception&#91;3&#93;; 
Object aao&#91;&#93;&#91;&#93; = new Exception&#91;2&#93;&#91;3&#93;;
int&#91;&#93; factorial = { 1, 1, 2, 6, 24, 120, 720, 5040 };
char ac&#91;&#93; = { 'n', 'o', 't', ' ', 'a', ' ', 'S', 't', 'r', 'i', 'n', 'g' }; 
String&#91;&#93; aas = { &quot;array&quot;, &quot;of&quot;, &quot;String&quot;, };</pre>
	<script type="text/javascript">mh_sh_highlight_all('java');</script>

</div>
 The [] might seem for a particular variable to be a part of declaration or type in beginning of declaration, or both as it is given in this example<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Java Code: </div>

	<pre class="brush: java">byte&#91;&#93; rowvector, colvector, matrix&#91;&#93;;</pre>
	<script type="text/javascript">mh_sh_highlight_all('java');</script>

</div>
 This declaration is equivalent to:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Java Code: </div>

	<pre class="brush: java">byte rowvector&#91;&#93;, colvector&#91;&#93;, matrix&#91;&#93;&#91;&#93;;</pre>
	<script type="text/javascript">mh_sh_highlight_all('java');</script>

</div>
 Length of an array object never gets changed once it has been created</blockquote>

]]></content:encoded>
			<dc:creator>Java Array</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/java-array/1004-array-variables.html</guid>
		</item>
		<item>
			<title>Array Types</title>
			<link>http://www.java-forums.org/blogs/java-array/1003-array-types.html</link>
			<pubDate>Sun, 04 Mar 2012 09:10:21 GMT</pubDate>
			<description><![CDATA[To write an array type use element type name with few empty square bracket pairs[]. Depth of array nesting is indicated by the no. of bracket pairs....]]></description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">To write an array type use element type name with few empty square bracket pairs[]. Depth of array nesting is indicated by the no. of bracket pairs. Length of array is not its type part.<br />
<br />
An array’s element type might be any type whether reference or primitive. Particularly,<br />
<br />
<ul><li style="">Arrays along with an interface type, as the component type are allowed. Such array’s elements might use null reference as their value or any type instances which implements interface.</li><li style="">Arrays with an abstract class type, as the component type are allowed. Such array’s elements might use null reference as their value or any subclass’s instance, of some abstract class which is not abstract itself.</li></ul><br />
<br />
<br />
Array types are used in cast expressions and declarations.</blockquote>

]]></content:encoded>
			<dc:creator>Java Array</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/java-array/1003-array-types.html</guid>
		</item>
		<item>
			<title>Copying Arrays</title>
			<link>http://www.java-forums.org/blogs/java-array/1002-copying-arrays.html</link>
			<pubDate>Sun, 04 Mar 2012 09:08:37 GMT</pubDate>
			<description>An arraycopy method is used by the system class which can efficiently be used to copy one array’s data to other: 
 
 
public static void...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">An arraycopy method is used by the system class which can efficiently be used to copy one array’s data to other:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Java Code: </div>

	<pre class="brush: java">public static void arraycopy(Object src,
                       int srcPos,
                       Object dest,
                       int destPos,
                       int length)</pre>
	<script type="text/javascript">mh_sh_highlight_all('java');</script>

</div>
 The array to copyfrom or the array to copyto is specified by the two object arguments. Three int arguments are used for the specification of the number of array elements to copy, starting position in the destination array and the starting position in the source array.<br />
<br />
Given program named as ArrayCopyDemo is used to make the declaration of the array of char elements by spelling “decaffeinated”. For copying array component subsequence to another array, arraycopy is used.<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Java Code: </div>

	<pre class="brush: java">class ArrayCopyDemo {
    public static void main(String&#91;&#93; args) {
        char&#91;&#93; copyFrom = { 'd', 'e', 'c', 'a', 'f', 'f', 'e',
			    'i', 'n', 'a', 't', 'e', 'd' };
        char&#91;&#93; copyTo = new char&#91;7&#93;;

        System.arraycopy(copyFrom, 2, copyTo, 0, 7);
        System.out.println(new String(copyTo));
    }
}</pre>
	<script type="text/javascript">mh_sh_highlight_all('java');</script>

</div>
 This program’s output is:<br />
<br />
caffein</blockquote>

]]></content:encoded>
			<dc:creator>Java Array</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/java-array/1002-copying-arrays.html</guid>
		</item>
		<item>
			<title>Creating, Initializing, and Accessing an Array</title>
			<link>http://www.java-forums.org/blogs/java-array/1001-creating-initializing-accessing-array.html</link>
			<pubDate>Sun, 04 Mar 2012 09:05:46 GMT</pubDate>
			<description>One can create an array by the help of the new operator.  In ArrayDemo program, next statement allocates the array along with quite enough memory....</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">One can create an array by the help of the new operator.  In ArrayDemo program, next statement allocates the array along with quite enough memory. This is done for 10 integer elements so that to assign array to anArray variable.<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Java Code: </div>

	<pre class="brush: java">// create an array of integers
anArray = new int&#91;10&#93;;</pre>
	<script type="text/javascript">mh_sh_highlight_all('java');</script>

</div>
 In case if the given statement is missing, an error like this would be printed by compiler and also the compilation would fail.<br />
<br />
<br />
To array’s each element, values will be assigned by the next few lines:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Java Code: </div>

	<pre class="brush: java">// initialize first element
anArray&#91;0&#93; = 100;
// initialize second element
anArray&#91;1&#93; = 200;
// etc.
anArray&#91;2&#93; = 300;</pre>
	<script type="text/javascript">mh_sh_highlight_all('java');</script>

</div>
 Numerical index is used to access each element:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Java Code: </div>

	<pre class="brush: java">System.out.println(&quot;Element 1 at index 0: &quot;
                   + anArray&#91;0&#93;);
System.out.println(&quot;Element 2 at index 1: &quot;
                   + anArray&#91;1&#93;);
System.out.println(&quot;Element 3 at index 2: &quot;
                   + anArray&#91;2&#93;);</pre>
	<script type="text/javascript">mh_sh_highlight_all('java');</script>

</div>
 To initialize and create an array, shortcut syntax may be used:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Java Code: </div>

	<pre class="brush: java">int&#91;&#93; anArray = { 
    100, 200, 300,
    400, 500, 600, 
    700, 800, 900, 1000
};</pre>
	<script type="text/javascript">mh_sh_highlight_all('java');</script>

</div>
 </blockquote>

]]></content:encoded>
			<dc:creator>Java Array</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/java-array/1001-creating-initializing-accessing-array.html</guid>
		</item>
		<item>
			<title>Declaring a Variable to Refer to an Array</title>
			<link>http://www.java-forums.org/blogs/java-array/1000-declaring-variable-refer-array.html</link>
			<pubDate>Sun, 04 Mar 2012 09:02:43 GMT</pubDate>
			<description><![CDATA[Array is declared in the above program along with this line of code. 
 
// declares an array of integers 
int[] anArray; 
Array declaration also...]]></description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">Array is declared in the above program along with this line of code.<br />
<div class="bbcode_container">
	<div class="bbcode_description">Java Code: </div>

	<pre class="brush: java">// declares an array of integers
int&#91;&#93; anArray;</pre>
	<script type="text/javascript">mh_sh_highlight_all('java');</script>

</div>
 Array declaration also consists of 2 components, just like other declarations for other types of variables. They are<br />
<ul><li style="">Array’s name</li><li style="">Array’s type</li></ul><br />
<br />
Array’s type is written as type[]. <br />
<br />
An array’s name could be anything that you may want provided it follows the conventions. Just like other type variables, array is not actually created by the declaration- this shows that variables would be holding specified type array.<br />
<br />
In same way, the other types array could be declared.<br />
<div class="bbcode_container">
	<div class="bbcode_description">Java Code: </div>

	<pre class="brush: java">byte&#91;&#93; anArrayOfBytes;
short&#91;&#93; anArrayOfShorts;
long&#91;&#93; anArrayOfLongs;
float&#91;&#93; anArrayOfFloats;
double&#91;&#93; anArrayOfDoubles;
boolean&#91;&#93; anArrayOfBooleans;
char&#91;&#93; anArrayOfChars;
String&#91;&#93; anArrayOfStrings;</pre>
	<script type="text/javascript">mh_sh_highlight_all('java');</script>

</div>
 </blockquote>

]]></content:encoded>
			<dc:creator>Java Array</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/java-array/1000-declaring-variable-refer-array.html</guid>
		</item>
		<item>
			<title>Java Array</title>
			<link>http://www.java-forums.org/blogs/java-array/999-java-array.html</link>
			<pubDate>Sun, 04 Mar 2012 09:00:33 GMT</pubDate>
			<description>Array is that container object which consists of fixed value numbers of one single type. When array is created, establishment of the length of an...</description>
			<content:encoded><![CDATA[<blockquote class="blogcontent restore">Array is that container object which consists of fixed value numbers of one single type. When array is created, establishment of the length of an array takes place. Length is fixed after creation of an array. In Hello world application’s main method, example of array has already been given. Here detailed array section will be given.<br />
<br />
<div style="text-align: center;"><img src="http://www.java-forums.org/attachments/advanced-java/3154d1330851586-jpg-java-1.jpg" border="0" alt="Name:  1.JPG
Views: 155
Size:  10.5 KB" class="thumbnail" style="float:CONFIG" /></div><b><div style="text-align: center;">An array of ten elements</div></b><br />
<br />
Every item present in array is known as an element. Numerical index is used to access each element. Numbering starts with zero, as it has been given in above illustration. At index 8, the 9th element would be accessed.</blockquote>

]]></content:encoded>
			<dc:creator>Java Array</dc:creator>
			<guid isPermaLink="true">http://www.java-forums.org/blogs/java-array/999-java-array.html</guid>
		</item>
	</channel>
</rss>
