Non-Numerical Literals
There are two major non-numerical literals in Java. The first, a character literal, represents a single character surrounded by quotations. Some characters are not so obvious or simply cannot be encased in quotations. That is where character escapes come in. The following post is a list of commonly used escape characters to print the not-so –obvious values:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment