This is a questioni from K&B
valueOf() ->
String to Wrapper
XXXValue() -> Wrapper to Primitive
parseXXX() -> String to Primitive
I thought the answer would be
line 5 -> It return a wrapper as valueOf() methods are supposed to return.
line 6 -> returns a Primitive
line 9 -> takes a String and returns a primitive.
Isn't this what we learned about the methods.
THen how come my answer are exactly opposite to the answer.
Or have i misunderstood the question?