Computer Science, asked by Anonymous, 8 months ago

What is the difference between next() and nextLine()? (related to java)

PLEASE GIVE APPROPRIATE ANSWER

Answers

Answered by rrajinder81l1
1

Answer:

next () it is used to accept a single word

nextline () it is used to accept a single statement

Explanation:

hope it is helpful mark as brainlist

Similar questions