Java program to convert aString to Long for a given string (of numeric digits)