in JAVA by (20.8k points)

How many threads can be executed at a time?

a) Only one thread

b) Multiple threads

c) Only main (main() method) thread

d) Two threads

1 Answer

0 votes
by (20.8k points)

(b) Multiple threads

Reason: In Java, multiple threads can be executed at the same time. A Java standalone application always starts with a single thread known as the main thread that is associated with the main() method.

In the operating system, only one thread is executed at a time.

Related questions

0 votes
asked Apr 9, 2021 in JAVA by Robindeniel (20.8k points)