Array in Java

An array is a collection of similar data types. It contains the values of homogenous or similar type. It is also known as static data structure because size of an array must be specified at the time of its declaration. It can contain values of either primitive or reference type. It gets memory in heap […]

Share this article on