Thursday, February 12, 2009

What happens when you add a double value to a String

Question :What happens when you add a double value to a String?
Answer :The result is a String object.162. What is your platform's default character encoding? If you are running Java on English Windows platforms, it is probably Cp1252. If you are running Java on English Solaris platforms, it is most likely 8859_1..

No comments: