Tuesday, January 23, 2007

How can you define a Thread?

You can define and instantiate a Thread in two ways:

Extend the java.lang.Thread class
Implement the Runnable interface.

SOURCE : www.referjava.com

No comments: