DevLearn logo
Skill Up With Me
Interactive Learning
Signing in…

Null в типах и Optional: что Java может повторить

🔒 Sign in to use this

Урок про nullability: в Kotlin null входит в тип (String и String?), в Java ссылочные типы по сути всегда потенциально null на уровне языка — дисциплина через проверки, аннотации или Optional. Одно бизнес-правило — безопасная работа с «может отсутствовать» — две разные эргономики.

Kotlin: null — часть типа
Content is available with subscription.
Get full access to all courses on the platform for one year with a single payment.
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.
🔒 Sign in to use this