int a = 10;int b = 11;int c = a > b ? a : b;到了 kotlin中 val a = 10val b = 11val c = if (a > b) a else b 相关文章: 2021-09-24 2022-01-04