As we know, while parsing a
string in to int/floal by using the method Integer.parseInt(String s)/Float.parseFloat(String s), it will return int/float value, if the String contains any numeric value like "101" or "101.11". but if it is not numeric like "a12", then it will throw NumberFormatException.
Please let me know, is there way to avoid this Exception except handling the exception means try catch block.
Thanks in advance.