What happens when you add a double value to a String

The result is a String object.

Showing Answers 1 - 3 of 3 Answers

The result of adding a double value to a string is a "string object" .
When we add double value to a string the value gets converted and it is appends to the original string and hence a new string object is created.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions