A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Programmer Certification (SCJP/OCPJP)
Joined: Mar 30, 2004
Sep 30, 2004 08:05:00
The code snippet :
give ans 12.
But valueOf method takes a
as an argument .
How this happens?
"The will to win is worthless if you do not have the will to prepare"
Joined: Aug 03, 2002
Sep 30, 2004 08:27:00
I suggest that you take another, closer loook at the String API.
Ask a Meaningful Question
Getting someone to think and try something out is much more useful than just telling them the answer.
I agree. Here's the link:
subject: valueOf() method
Some string questions
Difference between valueOf()Method and toString()Method
Have a question about convert int to string
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015