| | 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. | |
|
No comments:
Post a Comment