I don't understand
Hello all... I am completely lost here. Here is what the assignment is like. I have to make a program that prints 5 random delivery times like this:
Delivery 1 took _ minutes
Delivery 2 took __ minutes
Delivery 3 """"
Delivery 4 """"
Delivery 5 " " " "" "
import java.util.Random;
/* The library to import can be seen under the class name on the API page for the
Random class. There may be other classes to import as well.*/
public class GiveNameOfClassHere{ // Put in a meaningful class name
public static void main(String[] args){
// Declare variables and constants
Random randomClassInstanceNameHere = new Random(yourID);
// You are using the constructor Random(long seed)
// yourID is a constant.
//Now you can use any methods from the Random class
// For example:
randomClassInstanceNameHere.setSeed(2345654);
// This changes the seed to 2345654 (which is converted to a long type).
isTrue = randomClassInstanceNameHere.nextBoolean(); // true
// Based on the randomness, isTrue may be true here.
isTrue = randomClassInstanceNameHere.nextBoolean(); // true
// Based on the randomness, isTrue may be true here.
isTrue = randomClassInstanceNameHere.nextBoolean(); // false
// Based on the randomness, isTrue may be false here.
Here is what I have do far what are my errors so far and how do I set a delivery time equal to a random number
Do I need to make 5 variables Delivery1, Delivery 2, Delivery3, Delivery4, Deliery5?Someone please help I am completely lost.

