how can i check weather the last position of a string is integer or not??

For Example:-

String str = "Hello123";

Now how can i check the last digit "3" is integer or string??

please help