I'm using a code that uses Scanner
(which I named input
) and uses while(input.hasNextLine())
, but it does not stop asking for entries, I know it has a specific command for it (something like /n
) but I can not remember.
Could anyone help me?