yeidiyan1088 yeidiyan1088
  • 25-11-2022
  • Computers and Technology
contestada

Assume a random number generator object named randGen exists. Which expression is most appropriate for randomly choosing a day of the week?
a. randGen.nextInt(1);
b. randGen.nextInt(6);
c. randGen.nextInt(7);
d. randGen.nextInt(8);
JAVA

Respuesta :

Otras preguntas

What is 3 to the 3rd power times 3 to the 4th power
What year did the Mayflower sail the ocean blue?
What is 3 to the 3rd power times 3 to the 4th power
Georges Cuvier's discovery of fossils of Irish elk and giant ground sloth:
Factor by grouping:4-12r+9r^2i know the answer is (2-3r)^2Can anyone explain to me how it is?
A soccer ball is kicked straight up from the ground with an initial velocity of 32 feet per second. Its height above ground in feet is given by: s(t)=-16t^2 +32
true or false questions basic math 1.the total surface area of a cube each of whose edges is 12 inches long is 6 square feet 2.if the tank in a car holds 15 gal
Find the 6th term in the expanded form of the equation (2x+y)^9
write a paragraph on wonders of science
a sum of RSĀ 500 is in the form of denominators of RS5 & RS 10..if the total no. of notes is 90 ,find the no. of notes of each type................