Computer Science, asked by sonu7261, 1 year ago

meaning of functions (i) nextInt() and nextLine()??????

Answers

Answered by CharlieTomCruise9
5
nextInt makes the data type in Integer format when held on scanner

nextLine() changes the cursor to the next line

Hope it helps ya
Thanks !!

sonu7261: no not helpful!!
CharlieTomCruise9: Okay sorry then
Answered by Ankit02
1
Next line changes to next line output while next int changes to int data type
Similar questions