How about 2+5+"8"?
Answers were Sorted based on User's Feedback
Answer / madhu
int + int + String = int + String = String
2 + 5 + "8" = 7 + "8" = "78"
| Is This Answer Correct ? | 16 Yes | 2 No |
Answer / gp
"2"+4+6 = 246
but
2+4+"6" = 66
also
"2"+4+"6" = 246
"2"+4+6+8 = 2468
| Is This Answer Correct ? | 2 Yes | 3 No |
Answer / rofiqul islam
integer + integer + String = integer + String
2 + 5 + "8" = 7+"8"
| Is This Answer Correct ? | 4 Yes | 8 No |
Answer / nirupa
its 258 becoz string plus anything equals string...
| Is This Answer Correct ? | 1 Yes | 10 No |
What can I build with javascript?
What is servlet in javascript?
How do you declare javascript?
What is === in javascript?
What is the main difference between Map collections and other collections such as Set.
how to write frame work Architecture in QTP
Explain prototypal/differential inheritance?
Why global variables are bad javascript?
How do I open javascript in browser?
What javascript means?
How do I turn on javascript in google chrome?
What is the result of below given line of code in java script? 5+4+'7'?