+----------+---------------------+----------------------------------------------------------------+
| Operator | Operand types | Description |
+----------+---------------------+----------------------------------------------------------------+
| A = B | All primitive types | TRUE if expression A is equal to expression B otherwise FALSE. |
| A == B | All primitive types | Synonym for the = operator. |
+----------+---------------------+----------------------------------------------------------------+
1条答案
按热度按时间8fq7wneg1#
这个
=
以及==
运算符具有相同的功能。它们由完全相同的类实现。
函数注册表.java
语言手册自定义项