Then you would not need to re-prompt the user for a new String, but you would need to do anything necessary to clear your stringCensor Object (such as clearing the old 'badWord' and reprompting for a new 'badWord' and telling stringCensor about the new one).
peter_budo commented: Good pointer +11
javaAddict commented: Smart explanation. Couldn't find it. +4