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

Pausing a thread

- A thread is paused with the Thread.sleep method.
- A numeric argument determines how long the pause lasts.  It may be specified in milliseconds, or milliseconds and nanoseconds.

For more information, see:
Pausing Execution with Sleep
CPS 261, Unit 7