A String Tokenizer is used to break the string into tokens and the token value is passed as an argument in the constructor.