what is Thread?
Answers were Sorted based on User's Feedback
Answer / surya simhadri
Thread is an independent flow of execution with in a
process. A process can have any number of threads.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / harika
Thread is a block of code which is executed concurrently
independent of other threads with in a process.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / tulasi prasad
Thread is a sequential flow execution, that it has one
entry point,one exit point, some sequence of steps in
betwwen start nd stop. Other wise u can say like this :
Thread is alight weight process, y because its havening
less over heads
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ruchi
single process running at a time or current process is
thread.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / preeti halapnavar
Itz a small unit of execution or a light weight process.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / venkatachalapathy
Interrupts are necessary for handling time-critical
tasks, but there’s a large class of problems in
which you’re simply trying to partition the problem
into separately-running pieces so that the whole
program can be more responsive. Within a program,
these separately-running pieces are called threads
and the general concept is called multithreading. A
common example of multithreading is the user
interface. By using threads, a user can press a
button and get a quick response rather than being
forced to wait until the program finishes its
current task.
Ordinarily, threads are just a way to allocate the
time of a single processor.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the return type of read()?
What is the benefit of inner classes in java?
Does treeset allow null in java?
what are abstract functions?
How do you define a singleton class?
Is empty set an element of empty set?
what is server side caching?
List out benefits of object oriented programming language?
can java object be locked down for exclusive use by a given thread? : Java thread
What is the difference between Access Modifier and Access specifier?
Java.util.regex consists of which classes?
Can you instantiate the math class?