How many types of thread in java? give the name

Answers were Sorted based on User's Feedback



How many types of thread in java? give the name..

Answer / 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

How many types of thread in java? give the name..

Answer / 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

How many types of thread in java? give the name..

Answer / nikita

In java Threads are two types 1) user thread 2) Daemon Thread

Is This Answer Correct ?    31 Yes 5 No

How many types of thread in java? give the name..

Answer / 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

How many types of thread in java? give the name..

Answer / gaurav makwana

There are two types of thread :
1.Single thread
2.Multi thread

Is This Answer Correct ?    25 Yes 11 No

How many types of thread in java? give the name..

Answer / rashmi

Thread is the path of execution of a program..Types of
threads are Single-threaded and Multi-threaded...This is
mainly differentiated on the basis of synchronisation..A
synchronised thread means a single thread executed only
once at a time..Multithread means threads are executed
simultaneously...

Is This Answer Correct ?    14 Yes 13 No

How many types of thread in java? give the name..

Answer / tadveer

there are two types of thread
1.user thread
2.kernel thread

java works only in user thread , kernel thread handles by OS.

user thread categorized as
1.daemon thread(which are executing in background like Gabage collector,ThreadScheduler)
2.non daemon thread(created by the user)

Is This Answer Correct ?    4 Yes 4 No

How many types of thread in java? give the name..

Answer / 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

How many types of thread in java? give the name..

Answer / swati

There are two types of thread in java.
1)-Single
2)- multi
By default one thread is running internally is main thread........

Is This Answer Correct ?    7 Yes 16 No

How many types of thread in java? give the name..

Answer / usha

thread is two type
1.single thread
2.multi thread.

Is This Answer Correct ?    19 Yes 33 No

Post New Answer

More Core Java Interview Questions

Which of the following is not an isolation level in the JDBC

0 Answers   CTS,


Where is java located?

0 Answers  


What’s the difference between callable and runnable?

0 Answers  


What happens when heap memory is full?

0 Answers  


Which one of the following suits the description of a string better: derived or primitive?

0 Answers  






What is balanced tree in java?

0 Answers  


Infinite loop using while ?

4 Answers  


why not override thread to make a runnable? : Java thread

0 Answers  


If I will write String s=new String("XYZ"); String s1=new String("XYZ"); if(s.equals(s1)){ sop("True"); } else{ sop("False"); } This program will give me "True". But When I am creating my own class suppose class Employee{ public Employee(String name); } Employee e= new Employee("XYZ"); Employee e1 = neew Employee("XYZ"); if(e.equals(e1)){ sop("True"); } else{ sop("False"); } Then it will give the output as "False". Can I know what is happening internally?

5 Answers  


What is the method used to get the absolute value of a number?

2 Answers  


What is :: operator in java?

0 Answers  


What one should take care of, while serializing the object?

0 Answers  


Categories