+ 6
Simple question in some methods in java
What is the different between this two ways String x ='a'+""; String x=String. valueOf('a');
2 Antworten
+ 1
It will produce the same result. But in theory, The first method is called Implicit Casting, while the second mehod is called Explicit Casting.
+ 3
Thank you very much