This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
X and Y are subclasses of Thread. An X object creates a Y object and starts the thread. The X object passes a reference to itself (a Thread object) to the Y object in the constructor.
X and Y implement Runnable. An X object creates a Y object. X passes a reference to the current thread in the constructor. X creates a Thread object and passes the Y object to the Thread object. X starts the thread.
Joined: Feb 26, 2003
Thanks a lot Marlene. That was exactly what I wanted to know.
Joined: Mar 05, 2003
And thank you Paulo for letting me know I answered the question you were asking.