Which of the following options is the best for generating random integer?
Answers
Answered by
1
You could use boolean values of 0 or 1 based on value of A better result would be to declare java. util.
Answered by
0
Answer:
if 0 or 1?
Ans. (int)(Math.random() + 0.5)
Similar questions