var greeting = when(name) { null -> "hello human" "Jhon" -> "Jhon Connor?" else -> "hello " + name } println(greeting)