How many types of thread in java? give the name

Answer Posted / amir hassan

There are two types of Thread
1) Naming Thread
2)Thread Priority
1) Naming Thread
The Thread class provides methods to change and get the name of a thread.
2) Thread Priority
Each thread have a priority. Priorities are represented by a number between 1 and 10
> it Depend on the JVM.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we make constructors static?

726


Can string be considered as a keyword?

572


Is java developer a good career?

555


Why are getters and setters used?

571


What are the differences between graph and tree?

647






Explain the significance of listiterator.

590


How many bytes are there?

541


Can you override static methods?

502


Explain the difference between a Thread and a Process.

565


What is garbage collection? What is the process that is responsible for doing that in java?

658


Is there any limitation of using inheritance?

571


What are format specifiers in java?

594


What do you understand by access specifiers in Java?

586


who can i handle multiple client in RMI

1442


Can list be null in java?

579