Import java.util. *;
Public class StringTokenizerTest
{
StringTokenizerTest()// constructor
{
String str = new string ("China will win the 2006 World Cup"); //Instantiate a string
string[]new string = str . split(" "); //Divide the str string with spaces, and then receive it with the string array newString.
for(int I = new string . length- 1; I & gt=0; I-)
{
system . out . print(new string[I]+" "); //output one by one in a loop
}
}
Public static void main(String[] args)
{
new StringTokenizerTest(); //Instantiate the object
}
}