what is a thread?

Answer Posted / sharvari

Thread is a unit of program code in execution. It is unit of
dispatching.
Thread can be viewed as an independent program counter
within a process.
Basically it reduces switching overhead and helps
multiprogramming.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the topics in core java?

527


Can a final variable be manipulated in java?

528


What is sorting algorithm in java?

519


When should I use a singleton?

552


Can we create a class inside a class in java?

540






Will the compiler creates a default constructor if I have a parameterized constructor in the class?

579


Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?

557


What is final method?

578


What is an class?

589


Can you tell me range of byte?

555


Difference between final and effectively final ?

626


In a container there are 5 components. I want to display all the component names, how will you do that?

1557


What do you mean by ternary operator in java?

554


Explain the difference between private, public, package and protected in java?

593


What is treeset in java?

538