A literal character value can be specified either as a single-quoted character or as an escaped ASCII or Unicode sequence:
char a = 'a';
char newline = '\n';
char smiley = '\u263a';
A literal character value can be specified either as a single-quoted character or as an escaped ASCII or Unicode sequence:
char a = 'a';
char newline = '\n';
char smiley = '\u263a';
0 comments:
Post a Comment