0 votes
in JAVA by
Which method in Java generates boolean random values?

1) randomBoolean()

2) nextBoolean()

3) generateBoolean()

4) previousBoolean()

1 Answer

0 votes
by

2) nextBoolean()

Related questions

0 votes
asked Apr 8, 2021 in JAVA by SakshiSharma
0 votes
asked Aug 21, 2022 in JAVA by sharadyadav1986
...