get Random English Lower Character - Java java.lang

Java examples for java.lang:String Random

Description

get Random English Lower Character

Demo Code


//package com.java2s;

public class Main {
    public static char getRandomEnglishLower() {
        return (char) (Math.random() * 26 + 'a');
    }// ww  w.  j a  va 2  s .  co  m
}

Related Tutorials