Please don't post Java that won't compile. My pseudocode also occasionally prints null. Or does it? Who can tell?
Type: Posts; User: Sean4u
Please don't post Java that won't compile. My pseudocode also occasionally prints null. Or does it? Who can tell?
Math (Java 2 Platform SE v1.4.2)
Math.random()'s return type is double. It cannot return null.
Always, always post code that demonstrates the issue, particularly if the problem is impossible.