Computer Science, asked by harinidamodaran17, 5 months ago

which of the method of thread class is used to suspend a thread for a period of time?​

Answers

Answered by shraddha837
0

Answer:

sleep

Explanation: sleep() method of Thread class is used to Suspend a thread for a period of time.

Answered by shilpa85475
0

Sleep

Explanation:

The Sleep method of thread class is used to suspend a thread for a period of time.

A thread is one sequential glide of execution of duties of a system so it's also called a thread of execution or thread of control.

There is a manner of thread execution withinside the system of any running device.

Apart from this, there may be multiple threads inner the system.

A system, withinside the only terms, is an executing program.

One or greater threads run withinside the context of the system.

A thread is a primary unit to which the running device allocates processor time.

A thread can execute any  part of the system program, together with elements presently being performed via way of means of some other thread

Similar questions