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 |
Write code of any action class?
Which category the java thread do fall in?
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
Which oo concept is achieved by using overloading and overriding?
What is synchronization and why is it important in java programming?
How are multiple inheritances done in Java?
What is difference between public static and void?
How does arraylist work in java?
what is check p object in java
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
if num=687; U have to get num=6+8+7;
When is the finalize() called?