no need for else block
@@ -61,9 +61,6 @@ fun main(args: Array<String>) {
when (name) {
"John" -> println("Hi man")
"Alice" -> println("Hi lady")
- else -> {
- println("Hi")
- }
}
}
\ No newline at end of file
