a guest May 26th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- // Practice Time: Nullability/Lists
- // Create a list with two elements that are null; do it in two different ways.
- // Next, create a list where the list is null.
- listOf(null, null)
- var list: List<Int?> = listOf(null, null)
- var list2: List<Int>? = null
RAW Paste Data