Array in java is reference type.

Reference type store memory in heap.