Interview Question : With in an Application, will the Activity and Service run in the same process or different processes? My Answer was ::: In the same process.
Next Question ::: If so, how is that the Activity and Service run at the same time? My Answer was ::: Operating System will take care of the execution. (Frankly, I didn't knew the answer).
Can someone give an explanation of the above questions? If my answer was wrong, what is the correct answer?