public boolean esNumExpCorrecto (String numExp){ try{ Long.parseLong(numExp); return true; } catch(NumberFormatException e) { return false; } }