What is Concurrency in Java



The ability to run multiple programs or parts of programs (threads) in parallel is known as concurrency.

A multi-threaded program contains two or more parts that can run concurrently and each part can handle a different task at the same time making optimal use of the available resources especially when your computer has multiple CPUs. Multi-threading enables you to write in a way where multiple activities can proceed concurrently in the same program.

Updated on: 2019-07-30T22:30:20+05:30

494 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements