Question
Which three ways in which a thread can enter the waiting state in java programming?

Answers

A thread can enter the waiting state by invoking its sleep() method, by blocking on I/O, by unsuccessfully attempting to acquire an object's lock, or by invoking an object's wait() method. It can also enter the waiting state by invoking its (deprecated) suspend() method.   Your Comment




More Software,Java Questions..
What is the inputsplit in map reduce software?

Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

What is software configuration management?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

What is object cloning in Java?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?



Search
Can you Answer!!
  • Q Who threw Devayani into a well?
  • Q Is there an instruction manual for fm starting point?
  • Q How many times Gandhiji visited Kerala?
  • Q What are the two minor suits on contract bridge?
  • Q The word vinegar come from French meaning what
  • Q Shamshad Begum first sang this song in a film made in 1941, which somehow went unnoticed. In 1972, Lata Mangeshkar sang the same song and created history. Which song?
  • Q Define swatches palettes in adobe photoshop?
  • Q Draw a labelled glutamatergic synapse
  • Q What do you consider to be your firm's most important assets?
  • Q What is adaptive immune response
  • Q For the upliftment of the backward classes ______ founded the Harijan Sevak Samaj.