Question #282527

Q/ how we convert primitive types to a String using toSting



method?

1
Expert's answer
2021-12-25T01:47:48-0500

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?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS