This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Just a note : java.util.StringTokenizer class is depreciated.
The word is deprecated, and no, it's not. Go check if you don't believe me.
Joined: Jan 06, 2005
Well, my apologies Ernest Here is indeed the accurate status of StringTokenizer :
StringTokenizer is a legacy class that is retained for compatibility reasons although its use is discouraged in new code. It is recommended that anyone seeking this functionality use the split method of String or the java.util.regex package instead.
Consequently, StringTokenizer is not deprecated as Ernest said, yet its use is discouraged