Can someone give the output for this code without actually compiling & running ?
My first reaction is that actually compiling and running it won't help either. Not only should you not depend on the thread scheduler for behavior, you won't see this type of question on the SCJP.
Furthermore, it seems a little pointless to ask others to give you the output of the code. Do you have a question about it? Is it doing something you don't expect?
<EDIT> In case I wasn't clear about "running won't help" - there's no way to know what the output of that code will be. It can vary from one run to the next. [ July 06, 2005: Message edited by: Steve Morrow ]