What is the return type of the `exp()` method in Java?
The return type is `int`, because the `exp()` method calculates an integer result.
It seems you might be mixing up the `exp()` method with a method that calculates integer powers.
Can you explain how `exp()` returns a floating-point result and why it uses `double` instead of `int`?