Title: Starting a thread
Course: CPS 189: Java Certification - Review, Practice & Prepare (Development) > Section: (OLDstyle) Learning Modules

Starting a thread

- There are two ways to define a thread:
  - Create a class that implements the Runnable interface, and define a run method.
  - Create a subclass by extending the Thread class, and define a run method.

- A thread is started with the Thread.start method.

For more information, see:
Defining and Starting a Thread
CPS 261, Unit 7