参考手册
参考手册
实例 Kotlin 比较运算符 ==
源代码
运行代码
fun main() { var x = 5 var y = 3 println(x == y) // returns false because 5 is not equal to 3 }
fun
main
() {
var
x
=
5
var
y
=
3
println
(
x
==
y
)
// returns false because 5 is not equal to 3
}
输出结果
false