0% found this document useful (0 votes)
9 views

Android Interview Question

Android question

Uploaded by

Kashif Mehmood
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Android Interview Question

Android question

Uploaded by

Kashif Mehmood
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Hello, Android Developers!

📢
Are you preparing for an interview? Look no further! Here are some interview questions to help
you brush up on your Android concepts. 💻
These questions will build your confidence and ensure you're well-prepared for your interview.
😇
1. What is the Elvis operator in Kotlin?
2. What are coroutines and their types in Android?
3. How do you use services in the background on Android?
4. What is WorkManager in Android and how to use it properly?
5. What are the different types of launch modes on Android?
6. What is the difference between MVC, MVP, and MVVM in Android?
7. What are RxJava and the most commonly used operators in Android?
8. What is the difference between Abstract and Interface in Android?
9. What are abstractions in Android?
10. A real-time example of encapsulation?
11. What is the difference between fetch and pull in Git?
12. What are Dagger and Hilt in Android?
13. How can we use two instances when using Dagger?
14. What is the use of the @Named annotation in Dagger?

1. What is the use of the default constructor in fragments?


2. How do pass the arguments in Fragments?
3. What is a headless fragment in Android?
4. Diff launch modes in Android?
5. Diff b/w threads, handlers, and services?
6. What are the levels of permissions in Android?
7. What is a container?
8. What is LiveData and when should use it?
9. What is Flow on Android?
10. What is Data binding?
11. What is the difference between data binding & view binding?
12. What is the difference between const & val?
13. What is the difference between lateinit and lazy?
14. What is data class?
15. What is the singleton class in Kotlin, and how do we create it?

1. Explain the SOLID principle in Android.


2. What is destruction in kotlin android?
3. Explain MVVM in detail.
4. What are the Kotlin-scoped functions?
5. What are the security measures we have to follow when working on a healthcare project?
6. Why is multiple inheritance not supported in Android?
7. What is a diamond problem?
8. What is the difference between volley and retrofit?
9. What is RxJava and how does it work on Android?
10. What is obfuscation?
11. What is dependency inversion in Kotlin?
12. What is concurrent hash map?
13. What is memory model in Android?
14. What is the use of constraint layout and how do we have to use it more effectively?
15. What is yield in thread?

1. What is multithreading in Android?


2. What are memory leaks in Android?
3. What is the difference between an Array and an ArrayList?
4. What is the difference between main and UI threads?
5. What is a socket?
6. What is certificate pinning?
7. What is the server response code?
8. What is the alternate way of using Firebase Messaging?
9. What is the difference between ArrayList and HashMap and what is the performance when
deleting data? Which one is best for bulk delete operations?
10. What is intent service?
11. Explain Java collections?
12. How do we call two API’s at the same time with the progress dialog, and how do we hide the
dialog?

1. What is service and explain intent service in Android?


2. What is a singleton, and what is its purpose? Write a singleton program in Java.
3. What is synchronized when creating a class instance?
4. What are content providers, and how do we use them on Android?
5. What are the types of intent available in Android and explain them?
6. How do we integrate Firebase messages into Android? What are the steps we have to follow?
7. What is polymorphism, and explain the types in detail?
8. What is an infinity loop? Write a sample program in Kotlin.
9. What is the advantage of break-and-continue statements?
10. How do we maintain the cache from the retrofit library?
11. How do we pass headers in retrofit?

1. Explain HashMap and how do we use efficiently in Android?


2. Explain design patterns in android?
3. How do we use firebase database?
4. What is the difference between ListView and RecyclerView and which one is better for
pagination in Android?
5. What is Dagger and how it work internally?
6. What is RxJava and explain it in detail?
7. What is POJO class and how do construct it?
8. What are the methods of asyncTask?
9. How do update the UI in doinBackground?
10. What are the operations that are not supported in Andriod SQLite?
11. How do rename the file name when moving one folder to another?

1. What are the launch modes available on Android?


2. What is the difference between StringBuffer and StringBuilder?
3. What is thread-safe in Android?
4. What is synchronization?
5. What is fragment backstack? If you pass null in the backstack, what happens?
6. What are memory leaks, and how do you prevent them?
7. Java and Kotlin run in JVM, so what is the performance & why?
8. What is Multidex in Android?
9. What is a JvmStatic annotation in Kotlin?
10. What are coroutines in Kotlin and explain the types?

1. What is the difference between checked and unchecked exceptions in Android?


2. What are the ways to pass data between one activity to another activity?
3. Difference between throw and throws?
4. What are the ways to maintain battery performance on Android?
5. How do we identify memory leaks in Android?
6. What are the tools we can use to check the unwanted src and asset files?
7. What is Data Binding and difference between one-way and two-way bindings?
8. What are the available databases we can use in Android?
9. Difference between Serializable and Parcelable in Android? Write some example code?
10. Difference between checked and unchecked exceptions?
11. What is DiffUtil in Android, and what is the advantage?

You might also like