Question
What does this statement print?
System.out.println("bc" + 2 + 3)
System.out.println("bc" + 2 + 3)
Answers
oobleck
if math is done before concatenation,, then bc5
If string ops are done first, then bc23
If string ops are done first, then bc23
Anonymous
bc23
Dev
bc23
riya
bc+5
Abdelrhman
Bc23