This confusion is from I using the java Scanner nextLine method. If I firstly use the nextInt method and read a number, and then when I use the nextLine method, I must invoke it to skip the current line. I can understand this things in .txt file, things should like this: after I read a number, and I type a ENTER, now the cursor is in next line, and when I invoke the nextLine method, it will return the empty current line first.
But what does the ENTER(newline character) mean to computer(not the .txt file), and what will the computer do when I type a Enter key, it read a char such as '\n', or do something else.
If it is difficult to described, Can you suggest some relative books.