meaning of functions (i) nextInt() and nextLine()??????
Answers
Answered by
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 !!
nextLine() changes the cursor to the next line
Hope it helps ya
Thanks !!
sonu7261:
no not helpful!!
Answered by
1
Next line changes to next line output while next int changes to int data type
Similar questions