Compare the size of the integer values of the type Integer in Java

If you compare two integer values ​​of type Integer equal, we might find, use the "==" comparison (First you must explicitly "==" comparison is the address), returns true sometimes, and sometimes return false. . . .

Details are connected https://blog.csdn.net/qq_40434646/article/details/81914843

 

Guess you like

Origin www.cnblogs.com/cqLynnLee/p/11483336.html