Hello, recently I made a job switch and have attended interviews in various companies. I would like to share the list of questions and topics I came across during the process.
Programming Basics
- what is the difference between final, finally and finalize?Answer
- Explain abstraction in OOPS concept
- Explain inheritance in OOPS concept
- How to achieve polymorphism and it's types?
- What is Interface in Java?
- Can we create Object for abstract class? No, we can't create. Explanation
- Can we pass null value into HashMap?Answer
- Different types of Exceptions.
- Difference between array and arrayList. Answer
- Difference between serializable and parcelable. Answer
Android questions
- How to add multiple fragments in single activity? Answer
- Difference types of services in android?
- How to create a custom view and custom widget in android? Custom View, Custom widget
- How to update a single item in recyclerView? Answer
- Scope functions in Kotlin. Docs
- Different types of Launch modes in android. Answer
- How to check whether the lateinit variable is initialized? Answer
- What is Elvis operator in kotlin? Answer
- What is MultiDex in android? Explanation
- Explain LiveData and it's types in android. Explanation
- Difference between App bundle and APK. Answer
- What is key store file in android? Explanation
- Why we need to sign our app before releasing to PlayStore? Explanation
- What is the use of Gradle in android? Answer
- Explain build flavors in android. Answer
- How to implement Dynamic module delivery? Docs
- Coroutines in android. Docs
- Broadcast receivers in android. Docs
- Content providers in android. Docs
- What is Intent and it's types? Blog
- Activity and fragment lifecycle. Check this lifecycle cheat sheet
- What is Job scheduler in android? Answer
- Explain Alarm manager. Answer.
- How does MVVM works. Answer
- What is companion object in kotlin? Answer
- Difference between val and const in kotlin. Answer
- How room works internally? Answer
- Explain Hilt in android. Answer
Additional resources
Kotlin cheat sheet 1
Kotlin cheat sheet and quick reference
Android cheat sheet
Please do share any interview topics and questions you came across in comments.
Hope this helps :-).
Top comments (7)
Just in case there are newbies reading this list and getting stressed. I've been developing native android apps professionally as a contractor for over 10 years, I think I'm quite a good developer, and quite a few of these I would have to look up, or are about android components that I haven't needed to use for years.
I can testify that, they are indeed the type of questions that are often asked in interviews though. They ask these questions because they don't know how else to identify good developers (no one really knows how to do that)
Some of these questions are just because the interviewer learnt something last week, and they are proud of it, so they decide to ask you about it in the interview "how does room work internally?" 😂
I have no idea if you can pass null into a java HashMap, it's doesn't sound like a very good idea. But just type HashMap into your IDE and click it, the docs or the source will tell you 🤷
Anyway good to know what you're getting into when you head for your Android interview.
If they happen to ask you all the specific questions you didn't look up before the interview, and don't make an offer, don't take it personally. Those kinds of interviews are just chance.
This was really helpful. Thanks mate!
🤝
Awesome!
Very Helpful!
Nice
Thanks a lot... Very helpful
Some comments have been hidden by the post's author - find out more