Actually it is related because it concerns the effects of Numeric Promotions, and this question is a continuation of investigation of the concepts illustrated by the original post in this thread and...
Type: Posts; User: Zaphod_b
Actually it is related because it concerns the effects of Numeric Promotions, and this question is a continuation of investigation of the concepts illustrated by the original post in this thread and...
In Java for an arithmetic expression involving two char variables, the operands are promoted to ints and the result is an int.
Then, when you use println("whatever" + (c1+c2)) it prints the...