Arrays in Java

Array is a data structure capable to hold data of similar data types. Every language comes with its own rules for arrays.