What is the difference between Process and Threads?

Answer Posted / dinesh tiwari

A process is an instance of an running application.
And a Thread is the execution stream of the process.

A process can have multiple threads.

Is This Answer Correct ?    30 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the map interface?

617


What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

576


What is synchronization and why is it important?

549


Difference between DurableSubscription and non- DurableSubscription?

1720


what is handle?

1858






Why a component architecture for the java platform?

584


What event results from the clicking of a button?

702


why static class in java

1280


What are the different approaches to represent an inheritance hierarchy?

592


What value does read() return when it has reached the end of a file?

556


What is the difference between the session.get() method and the session.load() method?

606


What are the different types of exception?

574


What is the purpose of the notifyall() method?

613


How are commas used in the intialization and iteration parts of a for statement?

591


What is metaspace?

553