Java Isalphanum

public class CheckCharAlpha {
    public static void main(String[] args) {
        char a = '4';

        boolean letterOrDigit = Character.isLetterOrDigit(a);
        System.out.println(letterOrDigit);
    }
}
Yucky Yak