As a general rule, if you don't understand the behaviour of a class or method in the core libraries, the first port of call should be the Javadocs. If they don't explain it, or if you don't understand them, then that's the time to ask on a forum. Otherwise you risk being told to RTFM

.