Edit - actually, quick guess: probably something about String literals not being closed? Don't split your strings over two lines - e.g. "multi-Tier" (if that's exactly how you've formatted it in your program).
You really do need to give the error messages when asking this sort of question, though (see TellTheDetails).
Please understand that simply saying "It doesn't work" is useless. So useless, in fact, we have a FAQ for it: ItDoesntWorkIsUseless. So after someone says that it'd help to include *what* errors, to immediately not include the errors *again* isn't the most efficient way to get help. Make it easy for the volunteers who spend their time here to help!
Arun C. Giridharan
Joined: Jul 11, 2010
Take a look around-Processor speed.......wen i execute i keep getting the first element of array is combined with println() function..... hmmmm
String phrase=wordListOne[rand1]+" "+wordListTwo[rand2]+" "+wordListThree[rand3];
System.out.println("What we need is a "+phrase);
This program is 100% error-free and will give correct output...