1D array in JAVA
In this tutorial you will learn
1) What is array in JAVA?
2) Why we use arrays?
3) How we use arrays in JAVA coding?
What is an Array?
Array is a data structure used in programming languages to store similar type of items. Arrays are the simplest data structure. The contents of array can be quickly accessed and can easily be deleted. Arrays are used to put in independent variables of the same type in them. Array is just like a one directional block having equal sized partitions and each block we have a value stored. Each value in the array is called the element