0
What method is been used here?
String combineWords="I'm number "; int age =8; combineWords+=age; System.out.println(combineWords)
1 Answer
+ 4
In your example the + is working as the concatenate operator for the string.
Therefore output is:
I'm number 8