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 are the application of stack?
does java support pointers?
What is a java predicate?
What is the GregorianCalendar class?
What about main() method in java ?
Why do we need to override equals() and hascode() method of object class?
What is a website container?
difference between byte stream class and character stream class?
What is the purpose of return statement?
Can an interface extend a class?
Can we override constructor?
What is the use of System class?