Tuesday, November 3, 2009

Chapter 4: Implementing Runnable Versus Extending Thread




















Chapter 4 - Implementing Runnable Versus Extending
Thread

Java Thread Programming
Paul
Hyde






size=1>  size=2>Copyright � 1999 Sams
Publishing




















size=5>Chapter 4: size=5>Implementing Runnable Versus Extending
Thread












size=4>Overview












size=2>Until now, extending the class face="Courier New" size=2>Thread face=Arial size=2> has been the only way to define a new class that
can have a thread running within it. This chapter shows that the
size=2>Runnable
interface provides a second, and more often used, mechanism for
defining a new class that can have a thread running within
it.












valign="top" bgcolor="#FFFFFF">

Toc



No comments: