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