the following puzzles me :confused:
Does someone know why the third line is flagged with an error ?
char c1 = 'a' + 1; // ok
int v = 1;
char c2 = 'a' + v; // error "Type mismatch: cannot convert from int to char" !?!?
PS: I'm using Java 1.6