0

There is a random boolean generator in java random.nextBoolean()
But how can I generate boolean random values with 30% probability of true
Is there any such inbuilt function or one can make such a function out of the
existing function?

Juan
  • 103
  • 5

0 Answers0