output isCode:
public class testing
{
public static void main(String[] args)
{
final int a = 2, b = 3;
System.out.println(a + "2");
[COLOR="Red"]System.out.println(a + '2');[/COLOR]
System.out.println("2" + a + b);
System.out.println("2" + (a + b));
System.exit(0);
}
}
22
52
223
25
How does the red highlighted code work? Thanks!

