How many Threads are created when passing task to an Executor instance?

How many Threads are created when passing task to an Executor instance?

How many Threads are created when passing task to an Executor instance?

A.
A number of Threads determined by system load is used to execute tasks.

B.
A developer-defined number of Threads is used to execute tasks.

C.
The method used to obtain the Executor determines how many Threads are used to
execute tasks.

D.
A number of Threads equal to the number of CPUs Is used to execute tasks.

E.
A new Thread is used for each task.

F.
A single Thread Is used to execute all tasks.



Leave a Reply 0

Your email address will not be published. Required fields are marked *