What function would you use to generate a random number to simulate the flip of a coin? 

A. nextBoolean()
B. nextTF(True, False)
C. nextIntegerInRange(2)
D. nextInteger(True, False)

Answer: A

Computer Science & Information Technology

You might also like to view...

The speaker notes can be customized so certain things will appear on the printed document in the ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

The ____ command causes the movie to begin playing frame by frame, from the location of the playhead and continuing until the end of the movie.

A. Rewind B. Play C. Step Forward D. Step Backward

Computer Science & Information Technology