different types of threads?
Answers were Sorted based on User's Feedback
Answer / lokesh reddy
According to java
1.Hungry Threads/Greedy Threads
2.Orphan Threads/Parent-less Threads
3.Sleeping Threads
4.Daemon Threads
5.Synchronized Threads
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / vishal
There are Mainly two types of threads
1:Daemon Thread
2:Current Thread
Daemon Thread:
Thread that works in background to give support for its
relative environment.
Current Thread:
Thread that is executing on any object.
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / mazhar
TWO TYPE THREADS
1) CLOCK WISE
2) ANTI CLOCK WISE
| Is This Answer Correct ? | 2 Yes | 5 No |
Answer / karthick
Threads are of two types
1.Daemon thread
2.Non- Daemon thread.
Both can be created by user. The only difference is JVM
quits when all Non-Daemon executed. JVM wont consider about
Daemon threads.
| Is This Answer Correct ? | 4 Yes | 9 No |
Answer / nikhil bhosale
2 types of thread is
1.worker Thread.
2.Demon Thread.
worker thread is nothing but for eg. main();
and demon Thread is nothing but Background thread.
| Is This Answer Correct ? | 13 Yes | 21 No |
Answer / swapna
types of threads are daemon thread and non daemon thread.
that is one work in background like clock handler, and the
one which we are used in the programs that is user defined
threads.
| Is This Answer Correct ? | 56 Yes | 67 No |
Answer / ankush sharma
we have three types of threads
1.User Define Thread(main Thread always execute first and
start another thread)
2. Daemon thread (garbage Collection low priority thread)
3. GUI Thread( make as new create in main methods )
| Is This Answer Correct ? | 25 Yes | 38 No |
Answer / venkateswarlu
single thread
hyper threaed
multi thread
| Is This Answer Correct ? | 16 Yes | 40 No |
What happens when a thrown exception is not handled?
What is structure of java heap? What is perm gen space in heap?
Is alive and join method in java?
What is the relationship between clipping and repainting under awt?
How can we create a synchronized collection from given collection?
What is Java Reflection API? Why it’s so important to have?
Does chrome use java?
How do you reverse a string in java?
what is the difference between String and StringBuffer classes?
what is synchronization
Why stringbuffer is faster than string?
Explain break statement and continue statement?