It's not a secret anymore!
The moose likes Threads and Synchronization and the fly likes Thread and Object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply locked New topic

Thread and Object


Joined: Jun 02, 2004
Posts: 9
Is a thread an object or an Object a thread?

Thanks and Regards,<br />Badri
Yaroslav Chinskiy
Ranch Hand

Joined: Jan 09, 2001
Posts: 147

Based on OO rules

Since Object is the super class of Thread then Thread is an Object.
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

badrinarayanan --

You've been warned at least three times about our naming policy; I'm afraid I'm going to have to lock your account now. If you want to change your display name and have your account unlocked, you can make the change here, then send me email or a private message asking to be reinstated. Please include your member number (74215) when you write.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: Thread and Object
It's not a secret anymore!