hi,iam converting string to integer using Integer.parseInt().
But it is giving NumberFormatException.Can any help me by
seeing below code.
try{
String s="venkat";
int i=Integer.parseInt(s);
System.out.println(i);
}catch(NumberFormatException e)
{
System.out.println("NumberFormatException: " + e.getMessage());
