in JAVA by (31.7k points)
Which method in Java generates boolean random values?

1) randomBoolean()

2) nextBoolean()

3) generateBoolean()

4) previousBoolean()

1 Answer

0 votes
by (31.7k points)

2) nextBoolean()

Related questions

0 votes
asked Apr 8, 2021 in JAVA by SakshiSharma (32.2k points)
0 votes
asked Aug 21, 2022 in JAVA by sharadyadav1986 (31.7k points)
0 votes
asked Aug 21, 2022 in JAVA by sharadyadav1986 (31.7k points)
...