When I was reading the Integer class of Java Docs, I found this clause that This is a value-based class; programmers should treat instances that are equal as interchangeable and should not use instances for synchronization, or unpredictable behavior may occur.
. What does this mean?
I didn't try anything.