A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: valueOf() method
Some string questions
Have a question about convert int to string
Difference between valueOf()Method and toString()Method
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013