Computer Applications

Explain the following function:

nextLine();

Input in Java

29 Likes

Answer

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

Answered By

22 Likes


Related Questions