a guest Feb 16th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- var nullableVariable: String? = null
- var nullableVariable2: String? = "Aayush"
- val name = nullableVariable ?: "String if null \n"
- val name2 = nullableVariable2 ?: "String if null"
RAW Paste Data