Kindly help, when i add below line :
value[0] = Integer.parseInt(s.readLine());
instead of
value[0] = Integer.parseInt(s.readLine().trim());
I am getting a runtime exception.
Please help me, i am not getting why this trim function is required above.