wahts is mean by thread?

Answer Posted / sa ju

A thread and a process are same but a minor difference is there.

Process executes a program completely without splitting
whereas a thread splits a program into smaller tasks and
then execute them separately.And then combine the final result.
that is why a process is often called as Heavy weight and a
thread is called as light weight.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why hashcode is used in java?

500


What is the arraylist in java?

532


How to solve the problem of generating the unique hash keys with hash function?

1460


Why string is a class?

548


What does string mean in java?

630






What are the advantages of java over cpp?

553


What is variable declaration and definition?

543


What are the supported platforms by java programming language?

572


How can a gui component handle its own events in java programming?

536


Can we declare the static variables and methods in an abstract class?

548


What is meant by distributed application? Why are we using that in our application?

551


Are primitives objects?

566


What interface is extended by awt event listeners?

595


Can we use string in the switch case?

577


Can set contain duplicates?

551