The code snippet :
System.out.println(String.valueOf(1)+String.valueOf(2));
give ans 12.
But valueOf method takes a
String as an argument .
How this happens?
Mohit Agarwal
Would Be
SCJP.
"The will to win is worthless if you do not have the will to prepare"