Enlivening a Thread: start() and isAlive()

Chapter 4 - Implementing Runnable Versus Extending Thread

Java Thread Programming
Paul Hyde
  Copyright 1999 Sams Publishing

Chapter 4: Implementing Runnable Versus Extending Thread
Overview
Until now, extending the class Thread has been the only way to define a new class that can have a thread running within it. This chapter shows that the Runnable interface provides a second, and more often used, mechanism for defining a new class that can have a thread running within it.

Toc


Java Thread Programming
Java Thread Programming
ISBN: 0672315858
EAN: 2147483647
Year: 2005
Pages: 149
Authors: Paul Hyde

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net