SyntaxFix
Write A Post
Hire A Developer
Questions
input.next(); String s = input.toString();
change it to
String s = input.next();
May be that's what you were trying to do.