Java String Input Not Working Correctly Stack Overflow

Java String Input Not Working Correctly Stack Overflow