# Scanner:區別next和nextLine

z100861236發表於2024-05-13

Scanner:區別next和nextLine

基礎寫法:

Scanner scanner = new Scanner(System.in);

區別next和nextline(常用nextLine)

next():

image-20240513202151291

nextline():

image-20240513202528094

相關文章