+ 1
Question from a Java challenge.
Why is '/n ' a char, but '13' isn't ?
4 odpowiedzi
+ 3
Because \n is an escape character (Newline)
https://stackoverflow.com/questions/1367322/what-are-all-the-escape-characters
0
If you really studied the Java tutorial
You'd have known that "char" are used to denote a SINGLE symbol.
13 is not a Char because it's made up of 2 individual characters :1 and 3
0
Yahiko Well i suopse that /n is made up by 2 characters either?
0
Mert Yazıcı so escape characters are also a kind of character?