Computer Science, asked by anindita4, 2 months ago

___method accepts a string from the user as a line of text using Scanner class.​

Answers

Answered by ItsAishu
0

Answer:

idk sorry for it:-):-):-):-)

Answered by Anonymous
2

Answer:

 \: \huge\bf\underline \red{\underline{Question}}

___method accepts a string from the user as a line of text using Scanner class.

 \: \huge\bf\underline \red{\underline{Answer}}

Java nextLine() method

Java nextLine() methodThe nextLine() method of Scanner class is used to take a string from the user. It is defined in java. util. Scanner class.

Similar questions