According to his own javadoc : No, no reason. StringTokenizer is an obsolete product, and it is recommended that you use String#split instead of this class.
StringTokenizer is an inherited class that is retained for compatibility reasons, although its use is not recommended in new code. It is recommended that anyone looking for this functionality use the split method for String or the java.util.regex package.
source share