import java util random public class diceroller todo write your code below this comm 5122229
import java.util.Random;public class DiceRoller { // TODO – write your code below this comment. // You will need to write a method that takes the command-line // arguments, and produces an array where each value in the // array represents a dice roll. As a hint, you will need to use // Long.parseLong, Integer.parseInt, and the split method // on String at different points. // // It is recommended (though not required) to separate this // code into different methods. // TODO – copy over your definition of sumArray from // lab 11 below. // DO NOT MODIFY printArray! public static void printArray(int[] array) { System.out.print(“{“); if (array.length > 0) { for (int x = 0; x . . .