different types of threads?
Answers were Sorted based on User's Feedback
Answer / sivasubramanian.k
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 ? | 166 Yes | 34 No |
Answer / sakthivel(gceb)(n.p)pollachi
singlethread
multithread
Is This Answer Correct ? | 69 Yes | 26 No |
Answer / alok kumar
threads are of mainly of two types
1- user level threads
2- kernel level threads
Is This Answer Correct ? | 30 Yes | 19 No |
Answer / venkatesh
Mainly two types threads only in java
ie, Single thread and Multi threading
Is This Answer Correct ? | 6 Yes | 3 No |
Answer / umesh chandra pandey
Many types of Threads---
[1] Single Thread
[2]Multi Thread
[3]User Thread
[4]Kernal Thread
[5]Daemon Thread
[6]Non-daemon Thread
[7]GUI Thread
[8]Hyper Thread
Is This Answer Correct ? | 4 Yes | 2 No |
Answer / sunil verma
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 ? | 18 Yes | 17 No |
What are streams?
Can a class declared as private be accessed outside it’s package?
What are the various access specifiers for java classes?
How will you override default serialization mechanism in java
Explain access specifiers?
0 Answers Thomson Reuters, Virtusa,
How to call static method?
Can we inherit inner class?
Hi ,i convert contrller as jSp And presentation as servlet ...will it do? if so what are advantage and idsadvantages
what is inner class in java?
Given: 10. interface A { void x(); } 11. class B implements A { public void x() { } public voidy() { } } 12. class C extends B { public void x() {} } And: 20. java.util.List list = new java.util.ArrayList(); 21. list.add(new B()); 22. list.add(new C()); 23. for (A a:list) { 24. a.x(); 25. a.y();; 26. } What is the result? 1 Compilation fails because of an error in line 25. 2 The code runs with no output. 3 An exception is thrown at runtime. 4 Compilation fails because of an error in line 20.
What is the difference between heap and stack memory?
What carriage return means?