Kotlin学习笔记(二)——示例篇二
继续上一篇文章的示例分析 参考链接是:https://try.kotl.in 示例一条件表达式/** * `if` is an expression, i.e. it returns a value. * Therefore there is no ternary operator (condition ? then : else), * because ordinar