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
Is java jre still free?
Can we override private methods?
What about abstract classes in java?
What is temp in java?
Can we print null in java?
What are different access specifiers in java? Explain
What does serializing data mean?
In a container there are 5 components. I want to display all the component names, how will you do that?
If I only change the return type, does the method become overloaded?
What is static and final keyword in java?
What are the data types supported by java?
Is a string literal?
What is this keyword used for?
What is a blocking method in Java?
What are some examples of variable costs?