How many types of thread in java? give the name
Answer Posted / vivek
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 ? | 50 Yes | 12 No |
Post New Answer View All Answers
Who is the owner of java?
How to use string tokenizer class.
What are unchecked exceptions in java?
What is off heap memory?
What is the difference between choice and list?
What is type inference in java8?
Can we override the static methods?
What is the difference between iterator and enumeration ?
What is externalizable?
What is binary tree in java?
Explain the difference between arraylist and linkedlist in java?
What is variable and example?
what is the difference between preemptive scheduling and time slicing? : Java thread
If a class is declared without any access modifiers, where may the class be accessed in java programming?
What is immutability in java?