Hi Friends,
Today i am going to show how many ways we can print Array in Java.
As we know following points:-
Java array is a data structure where we can store the elements of the same data type.
The elements of an array are stored in a contiguous memory location.
So, we can store a fixed set of elements in an array.
The index of an array starts from 0.
there are following ways to print array: