How many types of thread in java? give the name
Answer Posted / shekhar
There are two types of threads in java....
1. User threads: Which are created by the user program
itself. The example is the Main thread etc...
2. Daemon Threads: These threads are generated by the JVM
itself. They are service provider threads which run in the
background and are not used to run the application code.
The example is the Garbage Collection thread.
Is This Answer Correct ? | 28 Yes | 9 No |
Post New Answer View All Answers
Difference between default and protected access specifiers?
What is a protected void?
What are the main uses of java?
What are the three best choices for a development environment?
How do you access command-line arguments within the code?
What are the types of arrays in java?
What are the differences between checked exception and unchecked exception?
How variables are stored in memory?
Define Multiprogramming and Multiprocessing in java.
What are data types in programming?
Why string is immutable with example?
Is minecraft java edition free?
How do you do math powers in java?
Explain features of interfaces in java?
Convert a BST into a DLL and DLL to BST in place.