Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - The list defines an array of integers
The list defines an array of integers
The Java code is as follows:

int len = 15;

List & lt integer & gtlist = new ArrayList & lt integer & gt (len);

while(list . size()& lt; len) {

double d = 100 * math . random();

int I =(int)d;

If (I> =10 & & I<= 99)

list . add(I);

}

For (integer a: list) {

system . out . println(a);

}