cast from string to integer (Beginning Java forum at JavaRanch)
I receive type parameter in string and want to change it to integer how I can do it String command1=st.nextToken(); ... parseInt is preferred if you don't need an Integer but an int, since it will not create any Integer object. SCJP 1.4 - SCJP 6 ......