Java View all facts Glossary Help |
syntactic unit > symbol > literal > character literal > carriage return character |
carriage return character | ||||
subject | fact |
carriage return character | is a subtopic of Literals | |
is an instance of char | ||
is an instance of character literal | ||
is denoted by '\r' | ||
char | can be used in a switch statement because a char is an integral type | |
can use basic arithmetic operators +, -, *, / and % | ||
contains 2 bytes | ||
has size 2 bytes | ||
see also Character class | ||
character literal | can be any single Unicode character | |
has example 'A' | ||
value | ||
has a format | ||
has a size in bytes | ||
syntactic unit | has syntax rule bold = mandatory |