java string class converting string code example Example: string to int int i=Integer.parseInt("200");