Tuesday, 19 April 2016

What is multithreading in JAVA

Java is a multi threading language which means we can developed multi threaded program using Java. Multi thread program contain two or more parts working concurrently. and each part contains different task at the same time

Android Interview Question asked in interview.

1. Explain android components.

See ANS here: cleck here

2. What is thread in Android.

see ANS here : click here for Answer

3. What is  Service in android

See ANS here : click here for Answer

Android Application Components

There are four android components.
1. Activity
2. Service
3. Content Provider
4. Broadcast Receivers

Activity: Activity is nothing but the user interacting screen. Which user can interact with app.

Services: It handle background process of android without  disturbing user. And it is long running process.

Content Provider: This handle data and Database Management issue .

Broadcast Receiver :It handled the communication between android OS and Android Application.