Computer Applications

Which of the following is a method of Java Scanner class?

  1. nextline( )
  2. nextLine( )
  3. Nextline( )
  4. NextLine( )

Input in Java

18 Likes

Answer

nextLine( )

Reason — nextLine( ) is a method of Java Scanner class.

Answered By

9 Likes


Related Questions