# Null-Safety

Null-safety is a programming-language type-system feature and set of techniques for representing nullable values and detecting or handling null-reference errors, often at compile time.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Nullability in Kotlin

DevFeed: [Nullability in Kotlin](<https://devfeed.tech/articles/nullability-in-kotlin-39336.md>)

Original publisher: [Read original article](<https://kt.academy/article/kfde-nullability>)

Published: 2023-03-13T00:01:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Null-Safety](<https://devfeed.tech/topics/null-safety.md>), [Exception](<https://devfeed.tech/topics/exception.md>), [Java](<https://devfeed.tech/topics/java.md>)

Tags: [elvis-operator](<https://devfeed.tech/tags/elvis-operator.md>), [exception](<https://devfeed.tech/tags/exception.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [null-safety](<https://devfeed.tech/tags/null-safety.md>), [safety](<https://devfeed.tech/tags/safety.md>), [type](<https://devfeed.tech/tags/type.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

This tutorial explains Kotlin null-safety and how nullable values are handled. It describes explicit values and nullable types, then introduces safe calls, not-null assertions, smart casts, and the Elvis operator.

### Source excerpt

How Kotlin null-safety works, and how can we deal with nullable values.