KnowledgeBoat Logo
|

Computer Applications

Explain the following function:

Integer.parseInt(in.readLine());

Input in Java

55 Likes

Answer

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


Related Questions