+ 1
Why this character declaration is suitable in java??
char a = 064770
1 Réponse
+ 12
char a = 064770; is an octal representation of the integer value 27128, which is legal because it fits into an unsigned 16-bit integer. If you try to print out the value of a, the answer will be a "?"