Arrays in Java is a container of fixed size for holding similar data types.
Arrays of integer can only handle integer values. String array can only handle data in String format and so on.
You can declare an int array with help of following code:
int a = new int;
You can assign data with following code:
Check 100s of Array tutorial for learning Array in Java.