Java array


An array is a group similar type of elements. Java array is an object the contains elements of similar data type.In java array are treated like an object. They can be dynamically created by using a keyword new.
An array represent a group of element of same data type. It can store a group of elements. So, we can store a group of int values or a group of strings in the array. But we can not store some int values and some float values the array.

Types of arrays
1.Single Dimensional Array
2.Multidimensional Array

Leave a Reply

Your email address will not be published. Required fields are marked *