What does the `max()` method in Java return when you compare two integers, say 5 and 10?
It returns the smallest of the two numbers because thatâ€™s how `max()` works.
It seems like you're confusing the `max()` method with the `min()` method.
Can you clarify what the `min()` method does compared to the `max()` method?