Question
Why a dead thread occurs

Answers

- Dead thread occurs due to two reasons:
1. A thread becomes dead when the function exits normally after execution.
2. A thread becomes dead due to some exception and then terminates itself.
- A thread can be dead by calling the kill or stop method. The method which is being called throws a thread-death error object which sends the message for the kill. To see that a thread is dead or not use isAlive method which returns true if the thread is runnable or blocked, in other cases it shows false.   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 What is the default number of shell commands saved in the history list of .cshrc file? (A) 200 (B) 100 (C) 150 (D) 175
  • Q How many votes are entitled for members of the UN Economic and Social Council?
  • Q In order to be issued a DD Form 214, how many days must an activated volunteer serve (A)30 (B)45 (C)60 (D)90
  • Q   Name a few Git repository hosting services
  • Q Which is considered as Kerala’s first Social Organization ?
  • Q How do you load and unload external libraries?
  • Q Which game was known as "Ping Pong" and was originated in China?
  • Q Anreas Cornelis van Kujik was who’s manager
  • Q How can you make sure that team members know who changed what in a software project?
  • Q How to strip whitespace (or other characters) from the beginning and end of a string ?
  • Q Define the term "factory overhead"?