---
title: "Discussion on \"Kotlin Basics  - Null\" | Hashnode"
description: "Discussion on \"Kotlin Basics  - Null\". Basically, Kotlin attempts to resolve NullPointerException(NPE) by making the data types as nou nullable\nVariable Declaration\nIf you try to assign a null value to a variable, the following compile error will be thrown by IDE\n\nTo make the variable nul..."
url: "https://hashnode.com/posts/kotlin-basics-null/64785a851a9f7026511e2fcb"
---

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

Discussion

# [Kotlin Basics - Null](https://www.vigneshprabhu.dev/kotlin-basics-null?utm_source=hashnode&utm_medium=feed)

Basically, Kotlin attempts to resolve NullPointerException(NPE) by making the data types as nou nullable Variable Declaration If you try to assign a null value to a variable, the following compile error will be thrown by IDE To make the variable nul...

Aug 7, 2021 · 2 min read · vigneshprabhu.dev  
Read the article

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

## Written by

[Vignesh Prabhu](https://hashnode.com/@vigneshprabhu)

@vigneshprabhu · Bangalore , India

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

Android application developer

I am an Android application developer who is looking for new challenges to solve , love to learn and implement new things in coding

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
