How many types of thread in java? give the name
Answer Posted / mishal tripathi
There are two types of threads in JAVA i.e.
1) User Thread :- This thread is created by user program
itself e.g. Main thread.
2) Daemon Thread:- This is JVM itself generated thread.
Example of this thread is Thread Scheduler and Garbage Collector
Is This Answer Correct ? | 123 Yes | 15 No |
Post New Answer View All Answers
what are the high-level thread states? : Java thread
Can we extend immutable class?
Differences between traditional programming language and object oriented programming language?
explain what is transient variable in java?
What is the difference between overriding & overloading?
Can you write a java class that could be used both as an applet as well as an application?
What is meant by distributed application? Why are we using that in our application?
How to find the index of the largest number in an arraylist java?
What is the difference between stringbuffer and stringbuilder class?
How do you include a string in java?
Can we override constructor in java?
How many types of literals are there in JAVA?
What is a text string?
Is 0 an irrational number?
What do you understand by a Static Variable?