Int, long are heavier, replace with equal==

First of all, there are many restrictions on = =. For example, if the value of integer type is in [- 128127], it is OK for integer to use "= =" (). If it exceeds the range, it will not work. If equal is used instead, it will be completely OK

Return results

The above example shows that there is still a big difference between "= =" and equal, which can be replaced==

Long's source code is as follows:

Integer source code is as follows:

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>