Type: Posts; User: Ada Lovelace
If you are inputting text via a string literal, shouldn't your input be: scannerObject.nextLine()