Example of JAVA String to integer and String to Double