Skip to content

Commit 9dd39e5

Browse files
authored
null value
1 parent 7f6dd3c commit 9dd39e5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

docs/topics/strings.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ val name: String = "Kotlin"
2121
val message = "Hello, world!" // Kotlin infers String
2222
```
2323

24-
### Nullable values
25-
2624
To declare a nullable value, use `String?`:
2725
```kotlin
2826
val maybeAbsent: String? = null
@@ -488,4 +486,4 @@ fun main() {
488486
> Learn more about format specifiers in the
489487
> [Java Class Formatter documentation](https://docs.oracle.com/javase/8/docs/api/java/util/Formatter.html#summary).
490488
>
491-
{style="note"}
489+
{style="note"}

0 commit comments

Comments
 (0)