he difference between process and service?
A process is a running application, and each process has its own separate memory space. An application can start multiple processes at the same time. For example, for the IE browser program, a new process is started every time a IE browser window is opened. Similarly, each time you execute the JDK Java.exe program, you start a separate Java virtual machine process that is responsible for parsing and executing the Java program code.
There is no actual service interface, quietly running in the background, he can provide some more features for the application of things, such as playing MP3, opened a broadcast MP3 service, users click on the start button to open the notification service, click the close button to close the notification service, if you disable this service, the others want to play MP3 that is not enough, but also between services is likely to depend on each other.
A process is a program which is started by the system (OS) or a third-party application. It is terminated once its purpose is done.
A service is a program which runs in the background, and does not terminate unless it encounters a problem, (example: an error).
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.