The signature of the method valueOf is: public static XXX valueOf(String s) Where XXX is the wrapper class you want return. For instance: Integer myInteger = Integer.valueOf("5000");
Ana<p>SCJP 1.4</p>
Don't get me started about those stupid light bulbs.