Look at the API doc for the StringTokenizer class. There is a method that will tell you the number of tokens and another method that will tell you if there is another token available. The program...