Respuesta :

In Java, the character class has both an isDigit method and an isLetter method.

if (Character.isDigit(a) || Character.isLetter(a)){
return true;
} else {return fase;}