Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
How do you convert from a string to a primitive type? For the opposite, you could use the valueOf method in the String class, but if I wanted to take a number that's stored in a string variable and store it in an int variable, to perform operations on the number, can I? Thanks a lot for the help! Replies:
|
Sponsored Links
|