I\'m new to Java. What does the below mean?
(addition) + sign in println System.out.println ("Count is: " + i);
(addition) + sign in println
System.out.println ("Count is: " + i);
When one of the operands to + is a String, the java compiler converts the other argument to a string too, and concatenates them into a new string.
+
If i is 1 the result is "Count is: " + "1" which is "Count is: 1"
i