0

When I use boolean using random, how did java program could say that is true or false?

Boolean.nextBoolean();

9/25/2019 12:52:31 AM

John Emmanuel Piga

1 Answer

New Answer

0

Java basically would Math.random an integer value between 1 and 0 ( 1 for true and 0 for false)