What does the `rint()` method do in Java?
The `rint()` method rounds numbers to the nearest integer, rounding up whenever the fractional part is greater than 0.5.
I'm a bit disappointed, as `rint()` doesn't always round up. It follows the rounding-half-to-even rule.
Can you explain how `round()` works in comparison to `rint()`?