public class Awesome {
public static void main (String[] args){
System.out.println(initializeRandomLetters(200, 'h'));
}
public static ArrayList<Character> initializeRandomLetters(int n, char asciiStart) {
ArrayList<Character> randChars = new ArrayList<Character>();
int asciiNum = asciiStart;
for (int i = 0; i<n; i++){
int randomNum = (int) (Math.random() * 33);
char newAsciiChar = (char) (randomNum + asciiNum);
randChars.add(newAsciiChar);
}
return randChars;
}
}
Awesome.main(null)
[t, , v,
, t, , m, , , , v, , |, , v, {, }, t, u, t, , |, i, , x, m, u, u, , v, , o, o, q, i, i, x, l, u, p, , ,
, p, , , , , i, l, v, y, j, , p, |, z, , q, {, n,
, m, , m, w, , , y,
, }, w, , m, , , , q, q, n, t, v, , |, q, , q, q, k, l, v, x, |, ~, r, m, m, n, r, k, s, z, , {, h, z, r, m, , , |, ~, o, , p, x, j, , , x, , v, , , |, k, y, m, t, {, , , y, x, r, q, |, x, n,
, h, p, s, u, , , , , r, {, , }, y, {, r, , y, q, j, , , ~, q, p, n, , , , n, , l, , t,
, k, t, v, , ~, , p, v, t, k, j, y, , , k, o, , , m, h, w, o, v, }, y, q]