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 serialization and deserialization?
Explain Method Overloading in Java.
Using callable statement how can you pass out parameters, explain with example?
What is an exception?
How java is similar to c?
What is anagram of a string?
What is the difference between && and & in java?
can u override the start() method of Thread class
What is the structure of java?
In Serialization, whether you will use Static variables?
what is use of business objects?
What are inner classes or non static nested classes in java?