maximum arrays size in java

Java
int arr[] = new int[N];// Maximum Value Of N:2,147,483,647 (max int size)
Source

Also in Java: