aspose file tools
The moose likes Servlets and the fly likes Thread Id Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

Thread Id Problem

sonu raj
Ranch Hand

Joined: Jul 31, 2012
Posts: 43

When I compile and run the above program I always gets the same output:


I want to know why the output is always 9 and 10, why not 2 and 4 or 4 and 5.etc
Please elaborate!!

[Added code tags - see UseCodeTags]
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10426

Closing this thread since this is a duplicate of Sonu, please do not create multiple threads for the same question.

[My Blog] [JavaRanch Journal]
I agree. Here's the link:
subject: Thread Id Problem