i am new to java and i want to take large input size array in java. but in gives me some Runtime Error - NZEC, I don\'t know about it and i also did some research on this error
The size of arrays in Java is of the type int. Since a long can hold more data than an int some data might get lost when converting from long to int.
int
long