---
title: "Discussion on \"Kotlin Null Safety Explained Simply: ?, ?., ?:, !! and Platform Types\" | Hashnode"
description: "Discussion on \"Kotlin Null Safety Explained Simply: ?, ?., ?:, !! and Platform Types\". How Kotlin stops NullPointerException before your app runs: nullable types, safe calls, the Elvis operator, why !! is risky, and where Java can still crash you."
url: "https://hashnode.com/posts/kotlin-null-safety/6aea380f79648d8b5de7b4c0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Kotlin Null Safety Explained Simply: ?, ?., ?:, !! and Platform Types](https://imayankkumar.hashnode.dev/kotlin-null-safety?utm_source=hashnode&utm_medium=feed)

How Kotlin stops NullPointerException before your app runs: nullable types, safe calls, the Elvis operator, why !! is risky, and where Java can still crash you.

Nov 3 · 7 min read · imayankkumar.hashnode.dev  
Read the article

-   [#kotlin](https://hashnode.com/tag/kotlin)
-   [#android](https://hashnode.com/tag/android)
-   [#android-app-development](https://hashnode.com/tag/android-app-development)
-   [#kotlin-beginner](https://hashnode.com/tag/kotlin-beginner)

## Written by

[Mayank Kumar](https://hashnode.com/@imayankkumar)

@imayankkumar · Bengaluru, India

  
[View profile](https://hashnode.com/@imayankkumar)

Senior Android Engineer | Kotlin, Android Internals, Performance Engineering & AI

I'm Mayank, an Android engineer focused on Kotlin, software architecture, performance engineering, and AI-assisted development. I write about building Android apps with AI, including the experiments that don't work.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
