What is the difference between services and thread in android?

  • AThread and services are having the same functionalities
  • BThread works on services
  • CServices perform functionalities in the background. By default, services run on the main thread only
  • DNone of these
Show answerHide answer

Correct answer C

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.