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 is args length in java?
Can a final variable be null?
What is a static method in java?
Can arraylist hold different types java?
What is numeric function?
what is web.xml?and its use?
What is difference between java and java ee?
how to run ecllipse with jettyserver for windows environment using batch file
How will you convert an ArrayList to Arrays?
how do you store phone numbers using java collections
What is hypertext?
Explain the relationship between the Canvas and Graphics class?