Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
Java array
1. Java Array <br />Array, what is it? An array is a group of variables of the same data type and referred to by a common name. An array is contiguous block of memory locations referred by a common name.<br />Why array is needed?<br />You might come across a situation where you need to store similar type of values for a large number of data items. For example : to store all student mark , you need declare thousands of variables <br /> In addition, each variable name needs to be unique. To avoid such situations, you can use arrays do store the thousands of student mark<br />For example Java Array<br />To store the marks of 5000 students, you can declare an array, marks, of size 5000 and can store the marks of as many students.<br />int marks[] = new int[5000];<br />