max string array size code example Example: maximum arrays size in java int arr[] = new int[N];// Maximum Value Of N:2,147,483,647 (max int size)