Java中三元运算符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.
確定! 回上一頁