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 |
a thread is runnable, how does that work? : Java thread
Define Wrapper Classes in Java.
Is array serializable java?
What is the common usage of serialization?
Is a class an object?
Can you give few examples of final classes defined in java api?
Is string a data type in java?
How many characters is 16 bytes?
What do you mean by data type?
how a marker interface gets its functionality and when we implements a marker interface how it got invoked
What are the two parts of a conditional statement?
How does hashmap work in java ?