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 |
Why string is popular hashmap key in java?
Can anonymous class have constructor?
What is a generic data type?
How is rounding performed under integer division?
What is the output of the below java program?
What is application system?
Why can't you declare a class as protected?
what is the difference b/w static and final methods?
What is the function of compareto in java?
How you can force the garbage collection?
What do you mean by synchronized non access modifier?
Is a method a function?