In the theory, we discussed how to construct an expression that tries to test something in a nullable variable and returns false if null. Try to do a similar expression but it should return true if null. In other cases, it returns the result of checking. Select the correct answer.
Avoiding NPEs. Null safety
Nullable Boolean
Report a typo
Select one option from the list
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.