adplus-dvertising
frame-decoration

Question

Which of these method of Thread class is used to Suspend a thread for a period of time?

a.

sleep()

b.

terminate()

c.

suspend()

d.

stop()

Answer: (a).sleep()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of these method of Thread class is used to Suspend a thread for a period of time?

Similar Questions

Discover Related MCQs

Q. Which of these keywords are used to implement synchronization?

Q. Which keyword is used for using the synchronization features defined by the Monitor class?

Q. What is synchronization in reference to a thread?

Q. Which method is called when a thread is blocked from running temporarily?

Q. What kind of exception is being thrown if Wait(),Pulse() or PulseAll() iscalled from code that is not within synchronized code?

Q. What is mutex?

Q. What is Semaphore?

Q. Which method is used to abort thread prior to it’s normal execution?

Q. Which of these statements is incorrect ?

Q. What is multithreaded programming?

Q. What is an iterator?

Q. What are the advantages of the named iterator?

Q. Which namespace is mostly preferred for the operation of networking in C#?

Q. Which of the following are the classes defined by the namespace System.Net:

Q. Which of the following are the interfaces defined by the namespace System.Net:

Q. Which of the following are the classes that support the standard HTTP protocol ?

Q. Which of the following class/classes supports the task of uploading and downloading the file:

Q. How many ports of TCP/IP are reserved for specific protocols?

Q. How many bits are present in a single IP address?

Q. Which of the following is the full form of DNS?