Kotlin functions are declared using the fun keyword: fun double(x: Int): Int { return 2 * x } ... a && b xor c is equivalent to a && (b xor c).
確定! 回上一頁