KnowledgeBoat Logo
|

Computer Applications

Explain the following function:

nextLine();

Input in Java

28 Likes

Answer

nextLine() method accepts a string from the user as a line of text using Scanner class.

Answered By

21 Likes


Related Questions