Possible Duplicate:
Java: “implements Runnable” vs. “extends Thread”
Why do we have two ways to create a thread in java - extending the thread class or implementing the runnable interface ? Is there any obvious benefit of choosing one over the other? When would you use subclassing the thread class ?