Explain the following function:
Integer.parseInt(in.readLine());
55 Likes
This statement accepts an integer from the user using Stream class and parses it into int data type using Integer.parseInt() method.
Answered By
36 Likes
(char)(in.read());
next();