Skip to content
Sign in
General Knowledge

What is the difference between services and thread in android?

Tap an option to check the answer. You can also press A–D.

Explanation
Services: Perform tasks in the background and continue running even if the user switches to another app. By default, they run on the main thread.Threads: Operate within the app's lifecycle, are used for parallel execution, and stop when the app stops.