here is code of bigrand function in c code
int bigrand (){
return RAND_MAX* rand()+rand();
}
please tell me what is equivalent code in java?
here is code of bigrand function in c code
int bigrand (){
return RAND_MAX* rand()+rand();
}
please tell me what is equivalent code in java?
java.util.Random
is the Java SE random generator, with subclasses e.g. java.security.SecureRandom
for a more cryptographically stronger generator.
int nextInt(int n)
double nextDouble()