Most Commonly Asked Android Interview Question for Android Developer.
OOPS CONCEPT
- What are basic components of OOPS?.
- What is Object?.
- What will happen if we do not follow up OOPS concepts in software development.
- Difference between Abstraction and Data encapsulation?.
- How abstraction and encapsulation can be archived.
- What is Polymorphism? Give Example.
- How to perform Polymorphism in Android?. How polymorphism is relevant in android. Use case?
- What are Compile time polymorphism and run time polymorphism?. With Example Code
- What is method Overloading and method Overriding?
- What is Interface?
- What is the use of interface. What's it's importance in OOPS concepts
- Can we use methods and body inside interface?
- What is default keyword do in interface?
- What is abstract keyword?
- Can methods allowed in abstract class. Explain an example of abstract class
- What is constructor.? what is the use of it
- What is loose coupling and tight coupling in OOPS
- Difference between new and override keyword
Recommended: Please solve it first, before moving on to the solution.
JAVA RELATED QUESTIONS
- What type of Programming language is Java?
- What is Method in Java?
- What is base class of every java class
- What are data types available in Java?
- How to Assign double to int in java
- What are access modifiers in java available? Explain each of them.
- What does public static void main keyword do in Java ?
- What is the use of static keyword in Java?
- What is this and super keyword?
- What is the use of new keyword?
- What is constructor in java? What is the need of it.
- Different between base class and super class in Oops
- What is enum classes?.
- What is difference between enum classes and constant classes
- What is Singleton?
- What is Difference between singleton and static?
- How to hide a method in java.
- What are Exception class in Java.
- What are static and final class in java.
- How to call static in java?
- What is collection Framework? what does it do.
- Give some of names of Exception class available in java.
- What is difference between final, finally, and finalize keyword in Java?
- Give an example of try and catch block statement?
- Can we perform try without catch block statement? Give an example.
- What are null pointer Exception in java?
- What is interface?
- Can we Instantiate abstract class?
- What is Default Interface
- What are methods we can use in interface?
- Why to use interface over abstract class? 32 What is abstract class?
- What is the difference between interface and abstract class? Give an example
- What is Map?
- How does Hash Map works?
- Difference between Array List Vs Linked List?
- Difference between Hash Map and Hash Set?
- Difference between Hash-map and Hash Table?
- What is asynchronous programming
- What is Concurrency in java? 41 What is Thread in Java? How to created a thread?
- Can java method overloading contains two same method name and signature allowed?
Recommended: Please solve it first, before moving on to the solution.
ANDROID QUESTION
- What is Android?
- What are Android App Components ?
- What is Android Manifest?
- Why we use Exported true in Android Manifest?
- Difference between Activity and Fragment .
- Can we created activity without layout?
- What is Fragment? How does it works?
- What is Services With Example and Implementation?
- What are types of Services?
- What is Thread? What is the use of Thread? what are lifecycle of thread?
- Which one is better Service or Thread?
- What are API available for Services?
- How do we interact UI With Services?
- What is Lifecycle of an Activity ?
- What is Lifecycle of an Fragment ?
- What are alternative of threading in Kotlin?
- What is broadcast Receivers With Example and Implementation?
- What is the use of Local Broadcast receiver
- What is Intent Filter ?
- How to start an intent?
- What are the different types if launch mode? Explain them each
- What are Content Provider? How to use them?
- What is Local Broadcast receivers?
- What is Android Architecture Components ?
- What is boot sequence of android
- What is Dozy in Android ?
- What are different types Android Architecture ?
- What is MVVM, Why to use it?
- What is Application Class in Android
- What is Application level gradle and Android level gradle?
- What are different types of Intents in Android
- What is Hash-map with Implementation
- What is Hash-table with Implementation
- What is Arrays, Array-list, Linked-list with example ?
- What are different types of data structure (Difference between Linear and Non Linear DS)
- What is savedInstanceState in Android?
- What is Bundle in Android?
- How to pass Data from one Activity to Another Activity ?
- How to implement Fragment ?
- What is Main difference between .apply and .commit in fragment ?
- What is APK?
- Different Layout Inflation Method in Android
- How does Vie Model Work passing data to View?
- What are different Storage Option we Have in Android
- How to Perform Room Database in Android
- Why, When and How to Use Shared Preferences ?
- How to build Own Notification Class.
- What is difference between Handler, Looper and Thread
- What are Different types of services we have in android
- What is MVI, MVP. and how does it can br implemented
- What is Dagger. Why to used, how to use
- What is boilerplate code
- What is difference between hilt and DI dagger?
- How to pass constructor of a class without using dagger hilt
- What is content provider? How to use content provider?
- How to use andoid core location feature? Details about masks
- Can android manifest have two launcher intent filter?
- What is AsyncTask? What are alternative of async task? In modern android development?
- Difference Recycler view Vs ListView
- What is difference between Activity and AppCompactActivity
- WorkManager ,JobScheduler ,JobDispatcher ,AlarmManager, BroadcastReceiver.
- Working of Runnable, Handler and Looper. How Android thread is different from Java Thread ? Explain handler threads.
- Concurrency framework in Android and their usecases .
- What are the problems in AsyncTask ? What is the relationship between the lifecycle of an AsyncTask and an Activity ? What problems can this result in ?
- Describe the working of different methods of RecyclerView.
- When to Register/Unregister Broadcast Receivers created in an activity? Advantage of preferring onStart()/onStop() and onResume()/onPause() over onCreate()/onDestroy().
- What is the difference between ListView and RecyclerView ?
- Given 50 items and maximum visible rows, find how many times onCreateViewHolder will be called .
- How would you communicate between two fragments ? What are weak references and Strong references (along with examples) ?
- Causes of memory leaks in Android applications ?
- What is SparseArray ?
- What is difference between Serializable and Parcelable ? Which is better in Android and why ?
- What is AIDL.
- What is FrameLayout?
- What are android components?
- What is AppCompactActivity
- Can activity be replaced without UI?
- What is lifecycle of activity?
- What is lifecycle of fragment?
- What is lifecycle of thread?
- What is lifecycle of ViewModel?
- What are types of Services? How to write a service class
- What are launchModes in Android? How Does it Work. Demo
- What are storage option available in android
- What are implicit and Explicit intent.
- What is boot sequence in android?
- How do you interact activity with services?
- What are methods came in activity.
- How to create a Json object to Json Array in java
- How to test android builds
- What is the use of asynchronus programming?
- How to write custom exception class in android? 93.How to test before application goes live in android?
- How Does room database work
- What is the internal Working of SQLite
- What are POJO class in android?
- What are access modifiers in java
- What are data types available in java
- Explain Android Architecture
- How Does RecyclerView Work in android how does it maintain it's set on click listener of different items?
- How to set Priority of Thread?
- When to use activity and when to use services?
- Some Libraries you have worked on in android? can refer below
- How to pass List of Images from Activity A to Activity B?
- How does MVI Works? give an achitecture
- How to write ExceptionClass? How to Handle them?
- Usage of try and catch block in java.
- How to send data from oen activity to another activity and received application as notepad application.
- What is .databaseBuilder() in Room database?
- What is ThreadPool?
- What are dependency required for MVVM?
- How does MVVM Work? What is use of observer there?
- What is Live Data? why to use it? when to use it.
- How does firebase messaging payload works(messaging)
- What is serializable and Parceble? How does it works
- What is data binding? What is syntatic in kotlin
- How to reduce APK size in android
Recommended: Please solve it first, before moving on to the solution.
KOTLIN RELATED QUESTIONS
- Why to choose Kotlin as android development?
- What are disadvantage of kotlin
- What is difference feature we have in Kotlin what was missing in Java?
- What is Null-safety in Kotlin
- What Null Assertion in Kotlin
- What are data types available in Kotlin?
- What access modifiers are available in Kotlin?
- What is Sealed, Open , Final and Data Class in Kotlin and what are it's equivalent in Java?
- What are functionality data class provides
- what are open class and sealed class
- What is Companion object in Kotlin? With Demo
- What is difference between val and var
- What is different between companion object and val?
- What is different between companion object and const val?
- What is difference between companion object and object?
- What is difference between lazy and lateinit?
- What is const val vs companion in kotlin
- what is difference between val and var
- What is difference between this and super keyword 18.What is Work WorkManager, JobShedular, JobDispatcher, AlarmManager, BroadCastReceiver
- What is asyncTask? Why to use them.
- What is Coroutines. When to use them.
- Why to use threading over normal coroutines?.
- Will you use coroutines if CPU has one core?.
- How to call coroutines function?.
- What is Singleton in Kotlin?
- How to pass header in retrofit in kotlin
- What are higher Order Function.
- What does clip to padding do?
- How to create custom View in android?
- What is content Provider and Content Resolver in android
- What are Storage Option available in android?
- How to write test using JUnit and Mockito class in kotlin.
- How to write UI test using Espresso
- How Does fragment interact with ViewModel
- How does observer work?
- What is View-Model how does it works?
- How does ViewModel Interact with UI?
- Can MVVM have two viewModel?
- How to use LiveData in ViewModel
- Can we write ViewModel inside View?
- What is use of repository in MVVM?
- How to write if-else statement in kotlin
- Why Mvvm Invented?
- How Does SetValue() and PostValue work in LiveData?
- What is safe call and Non-null assertion?
- What is extension function in kotlin?
- How do you write to network calls for coroutines?
- What do you use multiple header call in Api?
- What are Android Jetpack Components
- How does Coroutines Work INternally
- How to create your own Coroutines
- How Kotlin Coroutines compare to other tools like Thead, RxKotlin on work?
- How to pass single instance of Application?
- How Database on to many and many to one relationship?
- When onStop and onResume be called in android?
- Difference between .apply and .commit in fragment?
- How to pass data from activity to fragment?
- What is difference between activity travelling, fragment transection?
- What are higher Order Function in kotlin?
- What is Flow in Kotlin
- What is let,apply, with syntax in kotlin?
- What are scope function?
- What are Scope Function?
Recommended: Please solve it first, before moving on to the solution.
DSA Concepts
- What are different types of data stucture (Difference between Linear and Non Linear DS)
- Write a string in reverse order Input "martial coder" Result "redoc laitram"
- Write a program to count greatest among 0 and 1 substring
- Write a program using Linkedin List and print the head of the linked list , print Linked List in cyclic order "1 2 3 4 5" result "5 4 1 2 3 "
Recommended: Please solve it first, before moving on to the solution.
THIRD PARTY LIBRARIES SOMETIME ASKED
- What is default Image In Android
- What is Volley , Android Retrofit , Which one is fast, When to choose when?
- What is default Networking API in android
- What is GCM server and firebase?
- How to sent payload in notification Using firebase firebase?
- How to integrate firebase notification in android? 7.What is Rx Java? How to use it
- What is Rx Kotlin? How to use it.
- What is Wave Loading? How to use view like shimmerView Skeleton Layout to View?
- How to integrate authentication system in android ?
- Ho to use realm?
- How to create a api in Spring Hibernate?
Top comments (0)