Given a number represented by a string value, what is the difference between the following two approaches to convert the string value into a float value.
float f = Float.parseFloat(string);
Float fWrap = Float.valueOf(string);
float f = fWrap.floatValue();