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

Explain what are final variable in java?

575


What are the actions that can occur when a thread enters blocked state?

581


FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?

2633


Can a method be overloaded based on different return type but same argument type?

546


How do you sort an array in java?

541






Difference between start() and run() method of thread class?

586


What is class variable java?

583


Do you need to import math in java?

559


What is jee6?

536


What is javac used for?

513


Can a private method be declared as static?

579


What is navigable map in java?

521


What are the differences between heap and stack memory in java?

536


Can I uninstall java?

551


Where is singleton pattern used?

523