You need to change System.out.print(sinput2.nextToken() + " "); to System.out.println(temp + " ");
Type: Posts; User: Brt93yoda
You need to change System.out.print(sinput2.nextToken() + " "); to System.out.println(temp + " ");
You have to get the token, and then check the size.
StringTokenizer sinput2 = new StringTokenizer(sinput);
String temp = sinput2.nextToken();
System.out.println(temp.length()); //There is no...