Search:

Type: Posts; User: Sean4u

Search: Search took 0.10 seconds.

  1. Replies
    13
    Views
    2,666

    Re: random not working in .class method

    Please don't post Java that won't compile. My pseudocode also occasionally prints null. Or does it? Who can tell?
  2. Replies
    13
    Views
    2,666

    Re: random not working in .class method

    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.
Results 1 to 2 of 2