Which statement creates a random value from the sequence 2, 5, 8, 11 and 14 . Suppose randomNumbers is a SecureRandom object.

a. 2 + 5 * randomNumbers.nextInt(3);
b. 3 + 2 * randomNumbers.nextInt(5);
c. 5 + 3 * randomNumbers.nextInt(2);
d. 2 + 3 * randomNumbers.nextInt(5);

D

Computer Science & Information Technology

You might also like to view...

Use a mail ________ process to create envelopes

A) tab B) combine C) task D) merge

Computer Science & Information Technology

Guest ________ is a suite of tools that you can install after the guest operating system has been configured. Upon installation, generic operating system drivers for keyboard, video, mouse, network, disk controllers, and so on are replaced with versions optimized for Hyper-V

Fill in the blank(s) with correct word

Computer Science & Information Technology