Back to Java

Multithreading & Concurrency

Write programs that can perform multiple tasks simultaneously.

3 weeks

Topics in this Chapter

1

Thread and Runnable

Create and run threads by extending the Thread class or implementing the Runnable interface.

2

Synchronization

Prevent race conditions and ensure thread safety when accessing shared data.

3

ExecutorService

Use high-level thread pools to manage and execute tasks efficiently.

GeekDost - Roadmaps & Snippets for Developers