Is Java’s RNG (using seed) platform independent?

Apologize in advance for the (seemingly obvious) question I didn't find the answer online, so I think I would ask:

Util. Java Is the random platform independent?

For example, the new random (50) will produce exactly the same random number sequence in * Nix and windows systems?

Solution

From the docs:

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>