what is difference between thread and programme.

Answer Posted / lalit

hread is the smallest executable unit of a process. For example, when you run a notepad program, operating system creates a process and starts the execution of main thread of that process.
Process is an executing instance of a program. For example, When you double click on the Google Chrome icon on your computer, you start a process which will run the Google Chrome program. When you double click on a notepad icon on your computer, a process is started that will run the notepad program.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is new keyword in oops?

587


Why oops is important?

599


What are objects in oop?

604


What is the oops and benefits of oops programming?

547


Why is static class not inherited?

591






What is difference between oop and pop?

609


What is for loop and its syntax?

592


What is abstraction in oop?

625


What is data binding in oops?

580


What is destructor in oop?

617


Can destructor be overloaded?

591


What does no cap mean?

590


What is the purpose of enum?

577


What are main features of oop?

627


What is encapsulation in oop?

599