0 votes
in JAVA by
What is the thread?

1 Answer

0 votes
by

A thread is a lightweight subprocess. It is a separate path of execution because each thread runs in a different stack frame. A process may contain multiple threads. Threads share the process resources, but still, they execute independently.

Related questions

0 votes
asked Apr 14, 2023 in JAVA by SakshiSharma
0 votes
asked Jun 16, 2022 in JAVA by Robindeniel
...