Q/ how we convert primitive types to a String using toSting
method?
By calling the static toString() method of the corresponding wrapper class and passing in a primitive (for example Integer.toString(1)).
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment