The java code is as follows:
int len ??= 15;
List list = new ArrayList(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);