Whats wrong with this method? public double sum (double x) { if (x >= 0.5) { return

Question:

What’s wrong with this method?

public double sum(double x) { if (x >= 0.5) { return x; } else { return sum(x) + Math.random(); } } // end sum

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: