Hi Ann-Marie,
I agree with this way of converting types suggested by Ernst.
String s = "35"; int i = Integer.parseInt(s);
And thanks Ernst for the insight into other parseXXXX() methods.
I came across a good deal of information on Casting and datatypes in the book Head First Java - by Kathy Sierra & Bert Bates.
You can get a good start, especially if u r starting with Java.
Cheers,
Swamy