Sitemap
Madhuri Sharma

Madhuri Sharma

Mobile Developer @Codenia Technologies | Android Kotlin Flutter Jetpack Compose | Ex-Servosys | 4+ Yrs Exp https://www.linkedin.com/in/madhuri-sharma-7a540962/

Member-only story

30+ Android & Kotlin Interview Questions That Actually Confuse People

16 min readAug 26, 2026

--

A single, tight reference covering the Kotlin and Android concepts most people get wrong — not because they’re obscure, but because they look simple and aren’t. Includes real “what does this print / what actually happens” traps and bugs pulled from real working code, not quiz snippets.

Table of Contents

  1. Kotlin Fundamentals — Most Confused
  2. OOP & Class Types
  3. Coroutines & Flow — Where Most Confusion Lives
  4. Jetpack Compose — Most Misunderstood
  5. Architecture — MVVM vs Clean, For Real
  6. Dependency Injection
  7. Lifecycle & Memory
  8. Testing
  9. Scenario
  10. Kotlin Language Traps (“What Does This Print?”)
  11. Android Framework Traps (“What Actually Happens?”)
  12. Bugs Hiding in Real Working Code

Kotlin Fundamentals — Most Confused

Q1. What is null safety in Kotlin? How does ?, !!, and ?: differ?

Press enter or click to view image in full size
var name: String? = null

println(name?.length) // null, no crash
println(name!!.length) // 💥 NPE
println(name?.length ?: 0) // 0

--

--

Madhuri Sharma
Madhuri Sharma

Written by Madhuri Sharma

Mobile Developer @Codenia Technologies | Android Kotlin Flutter Jetpack Compose | Ex-Servosys | 4+ Yrs Exp https://www.linkedin.com/in/madhuri-sharma-7a540962/