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);
}