import java.util.Random;
public class RandomChar {
public static void main(String[] args) {
Random random = new Random();
char randomizedCharacter = (char) (random.nextInt(26) + 'a');
System.out.println("Generated Random Character: " + randomizedCharacter);
}
}
/* import java.util.Random; */
Random r = new Random();
char c = (char)(r.nextInt(26) + 'a'); // lowercase
char c = (char)(r.nextInt(26) + 'A'); // uppercase