If you are inputting text via a string literal, shouldn't your input be:


scannerObject.nextLine()