Im trying to generate random numbers using the statement:

Random r = new Random(2);
for (int i=1;i<=18;i++)

but im having errors in my results here is my entire code so far:

import java.util.*;
public class Random4
{
public static void main(String []args)
{
Random r = new Random(2);
for (int i=1;i<=18;i++)
...