Latest Android Aptitude Question SOLUTION: What is the difference between service and a thread?
Options
1) Service - is a component of android, which runs in the background with out any UI. Service will have default one th
What is the difference between service and a thread?
Options
1) Service - is a component of android, which runs in the background with out any UI. Service will have default one thread to run in background. Thread - is similar to service, it also runs in the background.
2) Service - is a component of android, which runs in the background with out any UI. By default service will run in Main thread only. Thread - is not android component, but still one can use thread to do some background task. Using thread in place of service is discouraged.
3) Option 2 is right, but one can use Thread in place of Service, no problem will come.
4) Option 1 is right, but it may have UI also some times.
Mathematics is like checkers in being suitable for the young, not too difficult, amusing, and without peril to the state.
Plato
Maths is just like a stone if u will uttern it therefore u can acheive the zenith of success but if u will not in that case it will become headache for u...